← Về thư mục
openai4s/kernel/provenance.py
- _off · function · L79-L80 — def _off() -> bool
- set_cell_id · function · L83-L84 — def set_cell_id(cell_id: str | None) -> None
- get_tags · function · L87-L98 — def get_tags(obj: Any) -> frozenset
- set_tags · function · L101-L109 — def set_tags(obj: Any, tags: frozenset) -> Any
- _remember_side_tag · function · L112-L130 — def _remember_side_tag(obj: Any, tags: frozenset) -> None
- _approx_size · function · L133-L137 — def _approx_size(obj: Any) -> int
- merge_tags · function · L140-L144 — def merge_tags(*objs: Any) -> frozenset
- _canonical_path · function · L147-L178 — def _canonical_path(path: Any) -> tuple[str, str] | None
- _resolve_version · function · L181-L195 — def _resolve_version(path: Any) -> str | None
- _first_path_arg · function · L198-L201 — def _first_path_arg(args: tuple, kwargs: dict, path_kw: str | None) -> Any
- _prov_wrap_reader · function · L204-L217 — def _prov_wrap_reader(fn: Callable, path_kw: str | None = None) -> Callable
- wrapper · function · L206-L214 — def wrapper(args: Any, *kwargs: Any) -> Any
- _report_location · function · L220-L238 — def _report_location(location: tuple[str, str] | None, tags: frozenset) -> None
- _report_write · function · L241-L242 — def _report_write(path: Any, tags: frozenset) -> None
- _prov_wrap_method_writer · function · L245-L269 — def _prov_wrap_method_writer(cls: type, name: str, path_argno: int = 0) -> None
- wrapper · function · L251-L263 — def wrapper(self: Any, args: Any, *kwargs: Any) -> Any
- _prov_wrap_func_writer · function · L272-L292 — def _prov_wrap_func_writer( mod: Any, name: str, path_argno: int = 0, obj_argno: int = 1 ) -> None
- wrapper · function · L280-L289 — def wrapper(args: Any, *kwargs: Any) -> Any
- _ProvFileWriter · class · L300-L335 — class _ProvFileWriter
- init · method · L304-L309 — def init(self, fh: Any, path: Any)
- write · method · L311-L313 — def write(self, s: Any) -> Any
- writelines · method · L315-L319 — def writelines(self, lines: Any) -> Any
- getattr · method · L321-L322 — def getattr(self, item: str) -> Any
- enter · method · L324-L326 — def enter(self) -> "_ProvFileWriter"
- exit · method · L328-L331 — def exit(self, *exc: object) -> Any
- close · method · L333-L335 — def close(self) -> None
- _ProvFileReader · class · L338-L367 — class _ProvFileReader
- init · method · L342-L344 — def init(self, fh: Any, tags: frozenset)
- read · method · L346-L347 — def read(self, a: Any, *k: Any) -> Any
- readline · method · L349-L350 — def readline(self, a: Any, *k: Any) -> Any
- readlines · method · L352-L353 — def readlines(self, a: Any, *k: Any) -> Any
- iter · method · L355-L357 — def iter(self)
- getattr · method · L359-L360 — def getattr(self, item: str) -> Any
- enter · method · L362-L364 — def enter(self) -> "_ProvFileReader"
- exit · method · L366-L367 — def exit(self, *exc: object) -> Any
- _make_tagged_class · function · L405-L429 — def _make_tagged_class(base: type) -> type
- _Tagged · class · L408-L414 — class _Tagged(base): # type: ignore[misc, valid-type]
- _wrap · method · L411-L414 — def _wrap(self, value: Any) -> Any
- _mk · function · L416-L424 — def _mk(name: str) -> Callable
- method · function · L420-L422 — def method(self: Any, a: Any, *k: Any) -> Any
- _tag_scalar · function · L436-L451 — def _tag_scalar(value: Any, tags: frozenset) -> Any
- _prov_open · function · L454-L464 — def _prov_open(file: Any, mode: str = "r", args: Any, *kwargs: Any) -> Any
- _prov_json_loads · function · L472-L479 — def _prov_json_loads(s: Any, args: Any, *kwargs: Any) -> Any
- install · function · L482-L525 — def install(host_call: Callable[[str, list], Any]) -> None
- _wrap_matplotlib_figure · function · L536-L539 — def _wrap_matplotlib_figure(module: Any) -> None
- _WrapAfterExecLoader · class · L542-L570 — class _WrapAfterExecLoader
- init · method · L551-L552 — def init(self, loader: Any) -> None
- create_module · method · L554-L556 — def create_module(self, spec: Any) -> Any
- exec_module · method · L558-L567 — def exec_module(self, module: Any) -> None
- getattr · method · L569-L570 — def getattr(self, name: str) -> Any
- _MatplotlibFigureImportHook · class · L573-L603 — class _MatplotlibFigureImportHook
- find_spec · method · L585-L603 — def find_spec(self, fullname: str, path: Any = None, target: Any = None) -> Any
- _install_matplotlib_figure_hook · function · L606-L613 — def _install_matplotlib_figure_hook() -> None
- _patch_dataframe_getitem · function · L616-L636 — def _patch_dataframe_getitem(pd: Any) -> None
- wrapper · function · L624-L630 — def wrapper(self: Any, key: Any, _orig=orig) -> Any
- uninstall · function · L639-L650 — def uninstall() -> None