mantik.tracking.track

Attributes

logger

Functions

init_tracking(→ mantik.tracking.environment.Environment)

Authenticate to the MLflow Tracking Server.

Module Contents

mantik.tracking.track.init_tracking() mantik.tracking.environment.Environment[source]

Authenticate to the MLflow Tracking Server.

Returns:

Holds the environment variables required for tracking.

Return type:

Environment

Notes

MLflow prioritizes the username and password environment variables over the token variable, causing an Unauthorized error. As a consequence, these have to be unset before setting the token variable.

The tokens will be stored in a file ~/.mantik/tokens.json to reuse tokens and refresh them only if they have expired.

mantik.tracking.track.logger[source]