We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UserAgent
A simple example:
foo = UserAgent() foo["device"]
Raises:
Value of type "UserAgent" is not indexable [index]
I think this has something to do with attrs, but haven't used it much in anger to understand the right way to fix it.
attrs
There may be a need to refactor to use @attrs.define instead of @attr.s, per https://www.attrs.org/en/stable/types.html
@attrs.define
@attr.s
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A simple example:
Raises:
I think this has something to do with
attrs
, but haven't used it much in anger to understand the right way to fix it.There may be a need to refactor to use
@attrs.define
instead of@attr.s
, per https://www.attrs.org/en/stable/types.htmlThe text was updated successfully, but these errors were encountered: