fa45d8aa5f
- health_checklist.json: 192.168.1.122→node122
- ocr_client.py: docstring IP→node122
- docs/market-data-requirements.md: IP→node122
- 所有API调用通过ProxyHandler({})绕过系统代理
Privoxy对node122:18003返回500,直连正常
37 lines
1.2 KiB
Python
37 lines
1.2 KiB
Python
from collections.abc import Callable, Iterable, Mapping
|
|
from typing import Any, Final, Literal as L
|
|
|
|
from .__version__ import version
|
|
from .auxfuncs import _Bool, _Var
|
|
|
|
type _Predicate = Callable[[_Var], _Bool]
|
|
type _RuleDict[VT] = dict[str, VT]
|
|
type _DefDict[VT] = dict[_Predicate, VT]
|
|
|
|
###
|
|
|
|
f2py_version: Final = version
|
|
numpy_version: Final = version
|
|
|
|
options: Final[dict[str, bool]] = ...
|
|
sepdict: Final[dict[str, str]] = ...
|
|
|
|
generationtime: Final[int] = ...
|
|
typedef_need_dict: Final[_DefDict[str]] = ...
|
|
|
|
module_rules: Final[_RuleDict[str | list[str] | _RuleDict[str]]] = ...
|
|
routine_rules: Final[_RuleDict[str | list[str] | _DefDict[str] | _RuleDict[str]]] = ...
|
|
defmod_rules: Final[list[_RuleDict[str | _DefDict[str]]]] = ...
|
|
rout_rules: Final[list[_RuleDict[str | Any]]] = ...
|
|
aux_rules: Final[list[_RuleDict[str | Any]]] = ...
|
|
arg_rules: Final[list[_RuleDict[str | Any]]] = ...
|
|
check_rules: Final[list[_RuleDict[str | Any]]] = ...
|
|
|
|
stnd: Final[dict[L[1, 2, 3, 4, 5, 6, 7, 8, 9, 0], L["st", "nd", "rd", "th"]]] = ...
|
|
|
|
def buildmodule(m: Mapping[str, str | Any], um: Iterable[Mapping[str, str | Any]]) -> _RuleDict[str]: ...
|
|
def buildapi(rout: Mapping[str, str]) -> tuple[_RuleDict[str], str]: ...
|
|
|
|
# namespace pollution
|
|
k: str
|