Skip to content

Typing issues #254

@meck-gd

Description

@meck-gd

The library as it is right now is incompatible with modern type checkers like ty, especially the models module. Supported attributes are not being made explicit, which causes unresolved-attribute errors in each line that accesses an attribute of a Taiga resource object.

It also makes for a bad development experience, because auto-completion likewise has no idea what attributes are available in a given object.

There's the allowed_params list, but it doesn't help in the above scenarios and also seems incomplete in places (each resource has an id, but it's not listed; Project slug is not listed, etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions