Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/attr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""

from functools import partial
from typing import Callable, Literal, Protocol
from typing import Callable, Literal, Protocol, runtime_checkable

from . import converters, exceptions, filters, setters, validators
from ._cmp import cmp_using
Expand Down Expand Up @@ -34,6 +34,7 @@
dataclass = partial(attrs, auto_attribs=True) # happy Easter ;)


@runtime_checkable
class AttrsInstance(Protocol):
pass

Expand Down
Loading