mantik.utils.mantik_api.credentialsΒΆ

ClassesΒΆ

Credentials

Holds the credentials for authentication.

Module ContentsΒΆ

class mantik.utils.mantik_api.credentials.Credentials[source]ΒΆ

Holds the credentials for authentication.

classmethod from_env() β†’ Credentials[source]ΒΆ

Create from environment variables.

password: str[source]ΒΆ
to_dict(include_password: bool = True) β†’ Dict[source]ΒΆ

Return as dict.

Parameters:

include_password (bool, default=True) – Whether to include the password in the result.

username: str[source]ΒΆ