Skip to content

Resources for annotating third party Django libraries #336

@coiax

Description

@coiax

image

In our project, we're using django-enumfield, and their custom field.

Currently, the custom field is typed as an Any. The get type should be the specific Enum that you associate with the field, while the set type should be Union[int, MyEnum].

Some resources on how to write stubs for third party libraries would be really helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    3rd partyPresence of a third party dependency has been mentioneddocumentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions