← Về thư mục
openai4s/telemetry/consent.py
- Consent · class · L43-L60 — class Consent
- init · method · L48-L53 — def init( self, *, install_id: str, granted_at: int, schema_version: int ) -> None
- as_record · method · L55-L60 — def as_record(self) -> dict[str, Any]
- env_forbids · function · L63-L66 — def env_forbids() -> bool
- read · function · L69-L113 — def read(store: Any) -> Consent | None
- enabled · function · L116-L118 — def enabled(store: Any) -> bool
- grant · function · L121-L143 — def grant(store: Any, *, now: float | None = None) -> Consent | None
- revoke · function · L146-L164 — def revoke(store: Any) -> None