python-glowplug 0.3.1__py3-none-any.whl → 0.3.2__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/driver/base.py CHANGED
@@ -22,9 +22,10 @@ class AlembicCommandProxy:
22
22
  self.config = config
23
23
 
24
24
  def __getattribute__(self, name: str) -> Any:
25
- cmd = getattr(alembic.command, name)
25
+ cmd = getattr(alembic.command, name, None)
26
26
  if callable(cmd):
27
- return lambda *args, **kwargs: cmd(self.config, *args, **kwargs)
27
+ cfg = super().__getattribute__("config")
28
+ return lambda *args, **kwargs: cmd(cfg, *args, **kwargs)
28
29
  return super().__getattribute__(name)
29
30
 
30
31
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-glowplug
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary:
5
5
  Home-page: https://github.com/jnu/python-glowplug
6
6
  License: MIT
@@ -1,11 +1,11 @@
1
1
  glowplug/__init__.py,sha256=VKKI-9C6KSlXwvisxTQFhVUUtQdwiNeV_g8wB5TVjM4,378
2
2
  glowplug/config/__init__.py,sha256=0v2Tqk8mJ3v_wRuifXP1-V4x7--xupBxxtrSt2CFqXs,1628
3
3
  glowplug/driver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- glowplug/driver/base.py,sha256=LTBSCkYLO_xJZwDDjKA8ro9KSbMHdKNtWBAoNecJmGE,2845
4
+ glowplug/driver/base.py,sha256=ZXVFaWcp8K6iPZuG7NkI_CPx_JZAXGXJvghGm7TE79k,2896
5
5
  glowplug/driver/mssql.py,sha256=gbrlh2O-LViDwNmwwpme0sNzu2EbgJtQKbp4o_mNrvs,2635
6
6
  glowplug/driver/pg.py,sha256=4Hw2WG33UzgYyJtWLv8QWZzHhzzsM34TyDuObtxvNmI,2600
7
7
  glowplug/driver/sqlite.py,sha256=DEJ8lYP8ZPemeGezTovs8WISGaVyUfwTIqiwMz3FPdU,1020
8
- python_glowplug-0.3.1.dist-info/LICENSE,sha256=HvAzro26TfbigQ3ppmyagEGHIr_UtyQDfU8muTAqWFU,1060
9
- python_glowplug-0.3.1.dist-info/METADATA,sha256=h0FUYcRim7r7DUJYmPKIJwNhr1kXzq8Ce6wqd_B4SDY,1290
10
- python_glowplug-0.3.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
11
- python_glowplug-0.3.1.dist-info/RECORD,,
8
+ python_glowplug-0.3.2.dist-info/LICENSE,sha256=HvAzro26TfbigQ3ppmyagEGHIr_UtyQDfU8muTAqWFU,1060
9
+ python_glowplug-0.3.2.dist-info/METADATA,sha256=Aak5w7-Bb8WEOR1S4HFRGGnXzHz4SGtVnCOMmwfet6U,1290
10
+ python_glowplug-0.3.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
11
+ python_glowplug-0.3.2.dist-info/RECORD,,