atoti_directquery_synapse.connection_info module#

class atoti_directquery_synapse.SynapseConnectionInfo#

Information needed to connect to a Synapse database.

__init__(url, /, *, password=None)#
Parameters

Example

>>> import os
>>> from atoti_directquery_synapse import SynapseConnectionInfo
>>> connection_info = SynapseConnectionInfo(
...     "jdbc:sqlserver://"
...     + account_identifier
...     + ".sql.azuresynapse.net;authentication="
...     + os.environ["SYNAPSE_AUTHENTICATION_METHOD"]
...     + ";user="
...     + os.environ["SYNAPSE_USERNAME"],
...     password=os.environ["SYNAPSE_PASSWORD"],
... )