hi there! we created a subclass of TypedSchema tha...
# announcements
s
hi there! we created a subclass of TypedSchema that writes to other storages besides GCS/local. i'm getting this error when running a workflow that creates this subclass as an output. this worked up until recently, so wondering if anything changed with TypedSchema recently?
Copy code
[3/3] currentAttempt done. Last Error: SYSTEM::Traceback (most recent call last):

      File "/home/jovyan/.local/lib/python3.7/site-packages/flytekit/common/exceptions/scopes.py", line 165, in system_entry_point
        return wrapped(*args, **kwargs)
      File "/home/jovyan/.local/lib/python3.7/site-packages/flytekit/core/base_task.py", line 514, in dispatch_execute
        ) from e

Message:

    Failed to convert return value for var o0 for function onemodel.models.subscribers._flyte.subscribers_task with error <class 'AttributeError'>: '_TypedJasperSchema' object has no attribute '_remote_path'
using
flytekit==0.25.0
k
@Sharon Gong Yes, we change
_remote_path
to
remote_path
in schema, let me create a pr to fix it
thanks for reporting the issue
sorry about that
Seem like you extend schema class, You could update the
_remote_path
to
remote_path
to fix the error.
s
thanks for confirming @Kevin Su we will pin to the previous working flytekit and keep this change on our radar in our future releases
107 Views