← Về thư mục
openai4s/server/table_profile.py
- ParsedTableQuery · class · L65-L74 — class ParsedTableQuery
- parquet_engine_available · function · L77-L89 — def parquet_engine_available() -> bool
- integer_query · function · L92-L101 — def integer_query(q: Mapping[str, Any], name: str, default: int) -> int
- _query_filters · function · L104-L109 — def _query_filters(q: Mapping[str, Any]) -> dict[str, str]
- _version_id · function · L112-L113 — def _version_id(q: Mapping[str, Any]) -> str
- _spreadsheet_safe · function · L116-L134 — def _spreadsheet_safe(q: Mapping[str, Any], *, mode: TableQueryMode) -> bool
- parse_table_query · function · L137-L197 — def parse_table_query( q: Mapping[str, Any] | None, *, mode: TableQueryMode, ) -> ParsedTableQuery
- canonical_filter_key · function · L200-L202 — def canonical_filter_key(filters: Mapping[str, str]) -> str
- canonical_profile_key · function · L205-L206 — def canonical_profile_key(checksum: str, filters: Mapping[str, str]) -> str
- profile_cache_get · function · L209-L219 — def profile_cache_get(key: str) -> dict[str, Any] | None
- profile_cache_put · function · L222-L228 — def profile_cache_put(key: str, payload: Mapping[str, Any]) -> None
- profile_cache_clear · function · L231-L233 — def profile_cache_clear() -> None
- _finite_numbers · function · L236-L248 — def _finite_numbers(values: Sequence[str], kind: str) -> list[float]
- _histogram · function · L251-L278 — def _histogram(values: Sequence[float]) -> list[dict[str, Any]]
- _text_histogram · function · L281-L288 — def _text_histogram(values: Sequence[str]) -> tuple[list[dict[str, Any]], bool]
- profile_columns · function · L291-L348 — def profile_columns( columns: Sequence[str], types: Sequence[str], rows: Sequence[Sequence[str]], ) -> tuple[list[dict[str, Any]], bool]
- profile_from_prepared · function · L351-L362 — def profile_from_prepared(prepared: Mapping[str, Any]) -> dict[str, Any]
- _formula_padding · function · L370-L371 — def _formula_padding(character: str) -> bool
- _trim_formula_padding · function · L374-L381 — def _trim_formula_padding(value: str) -> str
- _spreadsheet_safe_csv_cell · function · L384-L393 — def _spreadsheet_safe_csv_cell(value: str) -> str
- _excel_row · function · L396-L412 — def _excel_row(values: Sequence[str]) -> str
- _encode_csv_row · function · L415-L424 — def _encode_csv_row(row: Sequence[str], *, spreadsheet_safe: bool = False) -> bytes
- export_csv_chunks · function · L427-L487 — def export_csv_chunks( columns: Sequence[str], rows: Sequence[Sequence[str]], *, chunk_bytes: int | None = None, total_bytes: int | None = None, spreadsheet_safe: bool = False, ) -> list[bytes]
- flush · function · L451-L470 — def flush() -> None
- push · function · L472-L481 — def push(data: bytes) -> None
- csv_export_filename · function · L490-L494 — def csv_export_filename(filename: str) -> str
- export_response_headers · function · L497-L513 — def export_response_headers( *, artifact_id: str, version_id: str, checksum: str, filtered_rows: int, filename: str, approximate: bool = False, ) -> dict[str, str]
- default_resource_manifest_path · function · L516-L521 — def default_resource_manifest_path() -> Path
- resource_manifest_ready · function · L524-L555 — def resource_manifest_ready(path: Path | None = None) -> bool
- table_workbench_ga_blocked · function · L558-L561 — def table_workbench_ga_blocked() -> bool