python-glowplug 0.2.4__py3-none-any.whl → 0.2.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- glowplug/mssql.py +3 -3
- {python_glowplug-0.2.4.dist-info → python_glowplug-0.2.5.dist-info}/METADATA +1 -1
- {python_glowplug-0.2.4.dist-info → python_glowplug-0.2.5.dist-info}/RECORD +5 -5
- {python_glowplug-0.2.4.dist-info → python_glowplug-0.2.5.dist-info}/LICENSE +0 -0
- {python_glowplug-0.2.4.dist-info → python_glowplug-0.2.5.dist-info}/WHEEL +0 -0
glowplug/mssql.py
CHANGED
|
@@ -45,9 +45,9 @@ class MsSqlDriver(DbDriver):
|
|
|
45
45
|
# Need to run this with autocommit=True to avoid a transaction error
|
|
46
46
|
# See: https://stackoverflow.com/a/42008664
|
|
47
47
|
async with engine.connect() as conn:
|
|
48
|
-
await conn.
|
|
49
|
-
|
|
50
|
-
)
|
|
48
|
+
rc = await conn.get_raw_connection()
|
|
49
|
+
rc.driver_connection.autocommit = True
|
|
50
|
+
await conn.execute(text(f"CREATE DATABASE {database}"))
|
|
51
51
|
|
|
52
52
|
@property
|
|
53
53
|
def async_uri(self) -> str:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
glowplug/__init__.py,sha256=vOFfxzKjr7djsdQcWi3x4IKMgcNHYSZgwyld5Xzezws,195
|
|
2
2
|
glowplug/base.py,sha256=LTBSCkYLO_xJZwDDjKA8ro9KSbMHdKNtWBAoNecJmGE,2845
|
|
3
|
-
glowplug/mssql.py,sha256=
|
|
3
|
+
glowplug/mssql.py,sha256=gbrlh2O-LViDwNmwwpme0sNzu2EbgJtQKbp4o_mNrvs,2635
|
|
4
4
|
glowplug/pg.py,sha256=4Hw2WG33UzgYyJtWLv8QWZzHhzzsM34TyDuObtxvNmI,2600
|
|
5
5
|
glowplug/sqlite.py,sha256=DEJ8lYP8ZPemeGezTovs8WISGaVyUfwTIqiwMz3FPdU,1020
|
|
6
|
-
python_glowplug-0.2.
|
|
7
|
-
python_glowplug-0.2.
|
|
8
|
-
python_glowplug-0.2.
|
|
9
|
-
python_glowplug-0.2.
|
|
6
|
+
python_glowplug-0.2.5.dist-info/LICENSE,sha256=HvAzro26TfbigQ3ppmyagEGHIr_UtyQDfU8muTAqWFU,1060
|
|
7
|
+
python_glowplug-0.2.5.dist-info/METADATA,sha256=UVxm49gh2lpI18RDRIjdyZefDtnozk5F08f1hPG_Sqs,1257
|
|
8
|
+
python_glowplug-0.2.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
9
|
+
python_glowplug-0.2.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|