Skip to content

Commit

Permalink
add missing call_annotate_func to stub file
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCEllis committed Aug 3, 2024
1 parent 56a3861 commit 95cface
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ducktools/classbuilder/annotations.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from collections.abc import Callable
import typing
import types

Expand All @@ -8,6 +9,11 @@ class _StringGlobs(dict):
def __missing__(self, key: _T) -> _T: ...


def call_annotate_func(
annotate: Callable[[int], dict[str, type | typing.ForwardRef]]
) -> dict[str, type | str]: ...


def eval_hint(
hint: type | str,
context: None | dict[str, typing.Any] = None,
Expand Down

0 comments on commit 95cface

Please sign in to comment.