mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-03-08 00:59:50 -05:00
12 lines
506 B
Python
Generated
12 lines
506 B
Python
Generated
import sys
|
|
from typing import Any, Callable, Optional
|
|
|
|
if sys.version_info[:2] >= (3, 10):
|
|
from typing import TypeAlias
|
|
else:
|
|
from typing_extensions import TypeAlias
|
|
|
|
_CompareWithType: TypeAlias = Callable[[Any, Any], bool]
|
|
|
|
def cmp_using(eq: Optional[_CompareWithType] = ..., lt: Optional[_CompareWithType] = ..., le: Optional[_CompareWithType] = ..., gt: Optional[_CompareWithType] = ..., ge: Optional[_CompareWithType] = ..., require_same_type: bool = ..., class_name: str = ...,) -> type[Any]: ...
|