Files
OpenLLM/typings/attr/_typing_compat.pyi
Aaron c33a90a0cc chore: add annotations for attrs and eval correct annotation type
eval will be here once I find a different way to parse types into
python

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2023-05-31 17:11:20 -07:00

12 lines
201 B
Python

from typing import Any, ClassVar, Protocol
MYPY = False
if MYPY:
class AttrsInstance_(Protocol):
__attrs_attrs__: ClassVar[Any]
...
else:
class AttrsInstance_(Protocol): ...