Skip to content

Instantly share code, notes, and snippets.

@jenia
Created April 3, 2021 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jenia/9e24c4fe48a05e187bb7f1c8284dd6d8 to your computer and use it in GitHub Desktop.
Save jenia/9e24c4fe48a05e187bb7f1c8284dd6d8 to your computer and use it in GitHub Desktop.
class PleaseCoorperate(BaseModel):
self0: str
next0: str
def __init__(self, page: int, total: int, size: int):
self.self0 = ""
self.next0 = ""
pass
main.py:46: in __init__
self.self0 = ""
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E AttributeError: __fields_set__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment