obfuscatedgenerated / quizlet-api

Line too long FLK-E501
Style
Minor
a year agoa year old
line too long (105 > 88 characters)
69        if not isinstance(id, int):
70            raise TypeError("id must be an integer")
71
72        url = "https://quizlet.com/webapi/3.4/studiable-item-documents?filters[studiableContainerType]=1"73        url_fragments = list(urlparse.urlparse(url))
74
75        query = dict(urlparse.parse_qsl(url_fragments[4]))
line too long (105 > 88 characters)
36                "Page number is greater than 1 yet no paging token is provided. This may cause a 400 error."
37            )
38
39        url = "https://quizlet.com/webapi/3.4/studiable-item-documents?filters[studiableContainerType]=1"40        url_fragments = list(urlparse.urlparse(url))
41
42        query = dict(urlparse.parse_qsl(url_fragments[4]))
line too long (108 > 88 characters)
33
34        if page > 1 and paging_token is None:
35            warn(
36                "Page number is greater than 1 yet no paging token is provided. This may cause a 400 error."37            )
38
39        url = "https://quizlet.com/webapi/3.4/studiable-item-documents?filters[studiableContainerType]=1"
line too long (102 > 88 characters)
517                        )
518                    if not ("height" in media and isinstance(media["height"], int)):
519                        raise TypeError(
520                            f"cardSides[{i}].media[{j}] must contain height and it must be an integer"521                        )
522
523                    effective_media.append(
line too long (101 > 88 characters)
513                        )
514                    if not ("width" in media and isinstance(media["width"], int)):
515                        raise TypeError(
516                            f"cardSides[{i}].media[{j}] must contain width and it must be an integer"517                        )
518                    if not ("height" in media and isinstance(media["height"], int)):
519                        raise TypeError(