Browse Source

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

Steve Nyemba 1 tháng trước cách đây
mục cha
commit
aeff2a214b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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