Procházet zdrojové kódy

bug fix, schema should be a string for SQLAlchemy ~ 2.0.0

Steve Nyemba před 1 měsícem
rodič
revize
aeff2a214b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      transport/iowrapper.py

+ 2 - 2
transport/iowrapper.py

@@ -111,8 +111,8 @@ class IETL(IReader) :
         _data = super().read(**_args)
         _schema = super().meta()
         for _kwargs in self._targets :
-            if _schema :
-                _kwargs['schema'] = _schema
+            # if _schema :
+            #     _kwargs['schema'] = _schema
             self.post(_data,**_kwargs)
 
         return _data