← Về thư mục
openai4s/server/contract.py
- RouteSpec · class · L60-L102 — class RouteSpec
- post_init · method · L68-L90 — def post_init(self) -> None
- match · method · L92-L102 — def match(self, method: str, path: str) -> re.Match[str] | None
- _route_modules · function · L175-L183 — def _route_modules() -> tuple[str, ...]
- _route_module_specs · function · L186-L204 — def _route_module_specs(name: str) -> tuple[RouteSpec, ...]
- _sample_path · function · L220-L232 — def _sample_path(pattern: str) -> str | None
- _validate_route_specs · function · L235-L263 — def _validate_route_specs(specs: tuple[RouteSpec, ...]) -> tuple[RouteSpec, ...]
- validate_routes · function · L266-L276 — def validate_routes(specs: tuple[RouteSpec, ...]) -> tuple[RouteSpec, ...]
- declared_http_routes · function · L279-L284 — def declared_http_routes() -> tuple[RouteSpec, ...]
- _route_sources · function · L287-L306 — def _route_sources() -> list[str]
- _source · function · L309-L310 — def _source() -> str
- _callee_name · function · L313-L319 — def _callee_name(node: ast.Call) -> str
- _fullmatch_patterns · function · L322-L349 — def _fullmatch_patterns(text: str) -> set[str]
- _route_spec_patterns · function · L352-L389 — def _route_spec_patterns(text: str) -> set[str]
- is_complete_matcher · function · L392-L406 — def is_complete_matcher(route: str) -> bool
- http_routes · function · L409-L437 — def http_routes(source: str | None = None) -> set[str]
- websocket_inbound · function · L440-L458 — def websocket_inbound(source: str | None = None) -> set[str]
- _event_types_in_module · function · L474-L520 — def _event_types_in_module(text: str) -> set[str]
- collect · function · L491-L499 — def collect(node: ast.Dict) -> None
- _event_source_files · function · L523-L528 — def _event_source_files() -> list[Path]
- websocket_outbound · function · L531-L546 — def websocket_outbound(source: str | None = None) -> set[str]
- inventory · function · L549-L570 — def inventory() -> dict
- route_family · function · L573-L581 — def route_family(route: str) -> str
- route_families · function · L584-L589 — def route_families(source: str | None = None) -> set[str]
- QueryParamError · class · L592-L604 — class QueryParamError(ValueError)
- init · method · L601-L604 — def init(self, name: str, message: str, code: str = "invalid_query_param")
- int_param · function · L607-L633 — def int_param( values: Any, default: int | None = None, *, name: str = "limit", minimum: int | None = None, maximum: int | None = None, ) -> int | None