mirror of
http://forgejo.openclaw.svc.cluster.local:3000/mrhavens/intellecton.git
synced 2026-06-18 01:22:57 +00:00
34 lines
800 B
Python
34 lines
800 B
Python
from collections.abc import Callable
|
|
from typing import Any, TypeVar, overload
|
|
|
|
|
|
_T = TypeVar('_T')
|
|
|
|
|
|
def kwarg_doc(text: str) -> Callable[[_T], _T]: ...
|
|
|
|
|
|
class Substitution:
|
|
@overload
|
|
def __init__(self, *args: str): ...
|
|
@overload
|
|
def __init__(self, **kwargs: str): ...
|
|
def __call__(self, func: _T) -> _T: ...
|
|
def update(self, *args, **kwargs): ... # type: ignore[no-untyped-def]
|
|
|
|
|
|
class _ArtistKwdocLoader(dict[str, str]):
|
|
def __missing__(self, key: str) -> str: ...
|
|
|
|
|
|
class _ArtistPropertiesSubstitution:
|
|
def __init__(self) -> None: ...
|
|
def register(self, **kwargs) -> None: ...
|
|
def __call__(self, obj: _T) -> _T: ...
|
|
|
|
|
|
def copy(source: Any) -> Callable[[_T], _T]: ...
|
|
|
|
|
|
dedent_interpd: _ArtistPropertiesSubstitution
|
|
interpd: _ArtistPropertiesSubstitution
|