Skip to content

Commit

Permalink
fix: ignore all none object features
Browse files Browse the repository at this point in the history
  • Loading branch information
burtenshaw committed Sep 23, 2024
1 parent 195b029 commit d1eee08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argilla/src/argilla/settings/_io/_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _map_feature_type(feature):
sub_feature = feature[0]
if _is_chat_feature(sub_feature):
return FeatureType.CHAT
elif not isinstance(feature, dict):
if not isinstance(feature, dict):
warnings.warn(f"Unsupported feature format: {feature}")
return None

Expand Down

0 comments on commit d1eee08

Please sign in to comment.