← Về thư mục
openai4s/kernel/guards.py
- _off · function · L25-L26 — def _off() -> bool
- _loaded_pyplot · function · L29-L40 — def _loaded_pyplot() -> Any
- MatplotlibGlobalState · class · L43-L85 — class MatplotlibGlobalState
- init · method · L46-L48 — def init(self) -> None
- _fignums · method · L50-L57 — def _fignums(self) -> tuple[int, ...]
- snapshot · method · L59-L63 — def snapshot(self) -> None
- diff · method · L65-L72 — def diff(self) -> dict
- autoclose_leaked · method · L74-L85 — def autoclose_leaked(self) -> list[int]
- IsolationPin · class · L88-L179 — class IsolationPin
- init · method · L96-L98 — def init(self) -> None
- pin · method · L100-L127 — def pin(self) -> None
- diff · method · L129-L143 — def diff(self) -> dict
- restore · method · L145-L179 — def restore(self) -> None
- GuardBundle · class · L182-L211 — class GuardBundle
- init · method · L185-L191 — def init( self, *, restore_isolation: bool = False, autoclose_figs: bool = False ) -> None
- before_cell · method · L193-L195 — def before_cell(self) -> None
- after_cell · method · L197-L211 — def after_cell(self) -> dict