Skip to main content
A class for holding the properties of a database connection. The class is usually created in the pyconfigs/connections.py file. This class can be imported from the squirrels.connections or the squirrels module.

Constructor

Creates a ConnectionProperties object.

Examples

Below is an example of a pyconfigs/connections.py file that uses ConnectionProperties to define a SQLite database connection.
The following are additional examples of creating ConnectionProperties objects.

SQLAlchemy connection with engine arguments

DuckDB connection

ADBC connection

ConnectorX connection