Skip to content

Avoid ABC's and use Protocol instead #324

Closed
@rmorshea

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:

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