You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would come in handy. Here is an example form @cwegener
Add support for supplying conn_properties to pymssql in order to override the built-in session properties supplied by pymssql by default,
Code Example given:
def create_sqlalchemy_engine(self) -> sqlalchemy.engine.Engine:
"""Return a new SQLAlchemy engine using the provided config.
Returns:
A newly created SQLAlchemy engine object.
"""
connect_args = {}
if self.config.get("conn_properties") is not None:
connect_args = {"conn_properties": self.config.get("conn_properties")}
return sqlalchemy.create_engine(self.sqlalchemy_url, echo=False, connect_args = connect_args)
The text was updated successfully, but these errors were encountered:
It seems to me that ultimately the Microsoft end-user must know exactly how to choose the correct set of connection properties in order to talk to the more exotic flavours of "SQL Server"
This would come in handy. Here is an example form @cwegener
Code Example given:
The text was updated successfully, but these errors were encountered: