Explorar el Código

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

Steve Nyemba hace 1 mes
padre
commit
aeff2a214b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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