common.configuration.specs.connection_string_credentials
ConnectionStringCredentials Objects
@configspec
class ConnectionStringCredentials(CredentialsConfiguration)
__init__
def __init__(connection_string: Union[str, Dict[str, Any]] = None) -> None
Initializes the credentials from SQLAlchemy like connection string or from dict holding connection string elements
get_query
def get_query() -> Dict[str, Any]
Gets query preserving parameter types. Mostly used internally to export connection params
to_url
def to_url() -> URL
Creates SQLAlchemy compatible URL object, computes current query via get_query
and serializes its values to str