You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
В версии 2.8 при серриализации и потом десерриализации объектов с тикетами (типа <Resource /v2/issues/XXX-40069>) возникает ошибка AttributeError. В версии 2.7 такой ошибки нет.
Например, при использовании pickle:
Traceback (most recent call last):
File "/home/airflow/.local/lib/python3.12/site-packages/airflow/models/taskinstance.py", line 465, in _execute_task
result = _execute_callable(context=context, **execute_callable_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.12/site-packages/airflow/models/taskinstance.py", line 432, in _execute_callable
return execute_callable(context=context, **execute_callable_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.12/site-packages/airflow/models/baseoperator.py", line 400, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.12/site-packages/airflow/decorators/base.py", line 265, in execute
return_value = super().execute(context)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.12/site-packages/airflow/models/baseoperator.py", line 400, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.12/site-packages/airflow/operators/python.py", line 235, in execute
return_value = self.execute_callable()
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.12/site-packages/airflow/operators/python.py", line 252, in execute_callable
return self.python_callable(*self.op_args, **self.op_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/airflow/dags/dag_yt_tracker_export_test.py", line 64, in transform_tasks
data = pickle.load(handle)
^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.12/site-packages/yandex_tracker_client/objects.py", line 62, in init
self._value = self._process_value(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/airflow/.local/lib/python3.12/site-packages/yandex_tracker_client/objects.py", line 74, in _process_value
for field, field_value in six.iteritems(value):
File "", line 894, in iter
File "/home/airflow/.local/lib/python3.12/site-packages/yandex_tracker_client/objects.py", line 35, in getitem
self._obj.log_local_key_usage(key)
^^^^^^^^^
AttributeError: 'FieldLoggingDict' object has no attribute '_obj'
The text was updated successfully, but these errors were encountered:
В версии 2.8 при серриализации и потом десерриализации объектов с тикетами (типа <Resource /v2/issues/XXX-40069>) возникает ошибка AttributeError. В версии 2.7 такой ошибки нет.
Например, при использовании pickle:
The text was updated successfully, but these errors were encountered: