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,直连正常
22 lines
609 B
Python
22 lines
609 B
Python
from collections.abc import Callable
|
|
from datetime import (
|
|
datetime,
|
|
tzinfo,
|
|
)
|
|
|
|
import numpy as np
|
|
|
|
# imported from dateutil.tz
|
|
dateutil_gettz: Callable[[str], tzinfo]
|
|
|
|
def tz_standardize(tz: tzinfo) -> tzinfo: ...
|
|
def tz_compare(start: tzinfo | None, end: tzinfo | None) -> bool: ...
|
|
def infer_tzinfo(
|
|
start: datetime | None,
|
|
end: datetime | None,
|
|
) -> tzinfo | None: ...
|
|
def maybe_get_tz(tz: str | int | np.int64 | tzinfo | None) -> tzinfo | None: ...
|
|
def get_timezone(tz: tzinfo) -> tzinfo | str: ...
|
|
def is_utc(tz: tzinfo | None) -> bool: ...
|
|
def is_fixed_offset(tz: tzinfo) -> bool: ...
|