| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Thanks, comments below.
Sorry, something went wrong.
| body: str | dict[str, str] | list[tuple[str, str]] | None | ||
| decoded_body: list[tuple[str, str]] | None | ||
| oauth_params: list[str] | ||
| validator_log: dict[str, Any] |
There was a problem hiding this comment.
Any needs a comment.
Sorry, something went wrong.
There was a problem hiding this comment.
I changed it to object, an example of defining value can be found for example in oauthlib.oauth1.rfc5849.endpoints.resource.ResourceEndpoint.validate_protected_resource_request
Sorry, something went wrong.
There was a problem hiding this comment.
oh I just thought that maybe someone would want to pass a result that could be None, should I add | None for value?
Sorry, something went wrong.
There was a problem hiding this comment.
object isn't correct, since it would mean that every key can have any object. A suitable comment could be as simple as "# value type depends on the key".
Sorry, something went wrong.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.