Skip to content

Commit

Permalink
Fixed register error
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Sep 28, 2021
1 parent 79dd783 commit a9c893b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/core/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def transform_variable_map(
for k, v in variable_map.items():
res[k] = transform_type(v, descriptions.get(k, k))
if isinstance(v, FlytePickle):
res[k].type.metadata = {"python_class_name": typing.cast(FlytePickle, v.python_type)}
res[k].type.metadata = {"python_class_name": typing.cast(FlytePickle, v.python_type.__name__)}
return res


Expand Down

0 comments on commit a9c893b

Please sign in to comment.