MODULE REFERENCE
tracking
anomx.integrations.platform.trackingOptional HTTP persistence for run events.
classView source ↗
PlatformBackend
PlatformBackend(client: PlatformClient | None = None)Use the lightweight authenticated platform client to persist runs.
client may be a anomx.PlatformClient; when omitted its explicit ANOMX_URL and ANOMX_TOKEN environment configuration is used. Site-origin URLs default to /api; explicit API prefixes are preserved.
| Parameter | Type | Default |
|---|---|---|
client | PlatformClient | None | None |
Members
writemethod
write(event: Mapping[str, Any]) -> None| Parameter | Type | Default |
|---|---|---|
event | Mapping[str, Any] | required |
Returns None