lol
This commit is contained in:
@@ -205,7 +205,11 @@ class Connection(ConnectionEventsTarget, inspection.Inspectable["Inspector"]):
|
||||
|
||||
@property
|
||||
def _schema_translate_map(self) -> Optional[SchemaTranslateMapType]:
|
||||
return self._execution_options.get("schema_translate_map", None)
|
||||
schema_translate_map: Optional[
|
||||
SchemaTranslateMapType
|
||||
] = self._execution_options.get("schema_translate_map", None)
|
||||
|
||||
return schema_translate_map
|
||||
|
||||
def schema_for_object(self, obj: HasSchemaAttr) -> Optional[str]:
|
||||
"""Return the schema name for the given schema item taking into
|
||||
@@ -814,7 +818,7 @@ class Connection(ConnectionEventsTarget, inspection.Inspectable["Inspector"]):
|
||||
|
||||
The above code is not fundamentally any different in its behavior than
|
||||
the following code which does not use
|
||||
:meth:`_engine.Connection.begin`; the below style is referred towards
|
||||
:meth:`_engine.Connection.begin`; the below style is known
|
||||
as "commit as you go" style::
|
||||
|
||||
with engine.connect() as conn:
|
||||
|
||||
Reference in New Issue
Block a user