MODULE REFERENCE

tracking

anomx.integrations.platform.tracking

Optional HTTP persistence for run events.

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.

Signature parameters
ParameterTypeDefault
clientPlatformClient | NoneNone

Members

writemethod
write(event: Mapping[str, Any]) -> None
Signature parameters
ParameterTypeDefault
eventMapping[str, Any]required

Returns None