pyk.telemetry module
- class TelemetryConfig(user, consent)[source]
Bases:
NamedTuple- consent: bool
Alias for field number 1
- static load() TelemetryConfig[source]
Load config from disk.
- Raises:
FileNotFoundError – If the config file does not exist.
ValueError – If the user_id field is missing from the config file.
- user: str
Alias for field number 0