mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-05-18 21:54:11 -04:00
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>
12 lines
201 B
Python
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): ...
|