Open
Description
The transifex.api.TransifexApi
contains a number of lines of the form Team: JsonApiResource
(
However, these type annotations are incorrect as the class has attributes that contain types (subclasses of JsonAPiResource), not instances. This leads type checkers to show incorrect errors when these attributes are used.
To fix, the code should have lines of the form type[JsonApiResource]
instead, indicating that the attributes contain types, not instances.
Metadata
Metadata
Assignees
Labels
No labels