Skip to content

Commit

Permalink
Declare bankruptcy
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Dec 15, 2024
1 parent f2002e2 commit 275bb9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/attr/validators.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ _I = TypeVar("_I", bound=Iterable)
_K = TypeVar("_K")
_V = TypeVar("_V")
_M = TypeVar("_M", bound=Mapping)
_UT = TypeVar("_UT", bound=UnionType)

def set_disabled(run: bool) -> None: ...
def get_disabled() -> bool: ...
Expand All @@ -47,7 +46,7 @@ def instance_of(
@overload
def instance_of(type: tuple[type, ...]) -> _ValidatorType[Any]: ...
@overload
def instance_of(type: _UT) -> _ValidatorType[_UT]: ...
def instance_of(type: UnionType) -> _ValidatorType[Any]: ...
def optional(
validator: (
_ValidatorType[_T]
Expand Down

0 comments on commit 275bb9c

Please sign in to comment.