vastorbit.connection.get_confparser¶
- vastorbit.connection.get_confparser(dsn: str | None = None) ConfigParser¶
Parses the input DSN and returns the linked Config Parser.
- Parameters:
dsn (str, optional) – Path to the file containing the credentials. If empty, the
vastorbit_CONNECTIONenvironment variable is used.
Examples
Get the Config Parser using the
vastorbit_CONNECTIONenvironment variable:from vastorbit.connection import get_confparser get_confparser()
See also
get_connection_file(): Gets the vastorbit connection file.