Skip to content

Field uses deprecated attr.ib(cmp=False) #408

Open
@twm

Description

default = attr.ib(type=Optional[Any], default=None, cmp=False)

This causes attrs to issue a deprecation warning:

builtins.DeprecationWarning: The usage of cmp is deprecated and will be removed on or after 2021-06-01. Please use eq and order instead.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions