Skip to content

Avoid ABC's and use Protocol instead #324

Closed

Description

@rmorshea

Users shouldn't be bound to subclassing so long as they abide by the expected interface. To allow this we should use typing.Protocol instead of abc.ABC. This change would probably be applicable to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions