Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mciszczon authored Feb 5, 2025
2 parents 996479f + ae4fd06 commit e75407d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions dacite/data.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
try:
from typing import Protocol # type: ignore
from typing import Protocol, Any # type: ignore
except ImportError:
from typing_extensions import Protocol # type: ignore
from typing_extensions import Protocol, Any # type: ignore


# fmt: off
class Data(Protocol):
def keys(self): ...

def __getitem__(self, item): ...

def __contains__(self, item): ...
def keys(self) -> Any: ...
def __getitem__(self, *args, **kwargs) -> Any: ...
def __contains__(self, *args, **kwargs) -> bool: ...
# fmt: on

0 comments on commit e75407d

Please sign in to comment.