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.).
The library as it is right now is incompatible with modern type checkers like
ty, especially themodelsmodule. Supported attributes are not being made explicit, which causesunresolved-attributeerrors 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_paramslist, 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.).