0.1.0

flyteplugins.union.utils.auth

Directory

Classes

Class Description
AppClientCredentials Application client credentials for API key.

Methods

Method Description
encode_app_client_credentials() Encode app credentials as a base64 string for use as UNION_API_KEY.
is_serverless_endpoint() Check if endpoint is a Union serverless endpoint.

Methods

encode_app_client_credentials()

def encode_app_client_credentials(
    app_credentials: flyteplugins.union.utils.auth.AppClientCredentials,
) -> str

Encode app credentials as a base64 string for use as UNION_API_KEY.

Parameter Type Description
app_credentials flyteplugins.union.utils.auth.AppClientCredentials The application credentials to encode

is_serverless_endpoint()

def is_serverless_endpoint(
    endpoint: str,
) -> bool

Check if endpoint is a Union serverless endpoint.

Parameter Type Description
endpoint str