Open GKTheOne opened 4 months ago
Yes same error for me when trying to create a Source element
File "/usr/local/lib/python3.11/site-packages/airbyte_api/sources.py", line 63, in create_source out = utils.unmarshal_json(http_res.text, Optional[models.SourceResponse]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/airbyte_api/utils/utils.py", line 825, in unmarshal_json out = unmarshal.from_dict({"res": json_dict}, infer_missing=infer_missing) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dataclasses_json/api.py", line 70, in from_dict return _decode_dataclass(cls, kvs, infer_missing) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dataclasses_json/core.py", line 233, in _decode_dataclass init_kwargs[field.name] = _decode_generic(field_type, ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dataclasses_json/core.py", line 329, in _decode_generic res = _decode_type(type_arg, value, infer_missing) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dataclasses_json/core.py", line 247, in _decode_type return _decode_generic(type_, value, infer_missing) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dataclasses_json/core.py", line 321, in _decode_generic res = _decode_dataclass(origin, value, infer_missing) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dataclasses_json/core.py", line 178, in _decode_dataclass types = get_type_hints(cls) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/typing.py", line 2377, in get_type_hints value = _eval_type(value, base_globals, base_locals) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/typing.py", line 395, in _eval_type return t._evaluate(globalns, localns, recursive_guard) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/typing.py", line 910, in _evaluate self.__forward_value__ = _eval_type( ^^^^^^^^^^^ File "/usr/local/lib/python3.11/typing.py", line 409, in _eval_type ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.__args__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/typing.py", line 409, in <genexpr> ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.__args__) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/typing.py", line 395, in _eval_type return t._evaluate(globalns, localns, recursive_guard) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/typing.py", line 905, in _evaluate eval(self.__forward_code__, globalns, localns), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<string>", line 1, in <module> NameError: name 'ContinuousFeed' is not defined
Work with 0.50.0
First let me apologise for the lack of specificity atm. I'm writing this at the end of my work day after I worked around the issue, so I'm writing this from memory. I do hope to come back and fill in some details, provide proper code, etc, but I may be told to focus my time/energy elsewhere now that our code is working again(🙄) 🙏
Using version 0.50.1, I encountered a NameError in the
sources.get_source
call, and traceback took me throughutils.unmarshal_json
to theunmarshal.from_dict
call (and then into dataclasses_json library). It seems to be choking on themodels.SourceE2eTestCloud
use inmodels.SourceConfiguration
, as the NameError mentions thatContinuousFeed
cannot be found (?, apologies, I've forgotten the exact message).