Skip to content

Commit

Permalink
declare with generic field
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Apr 5, 2023
1 parent 06d4d72 commit 9481f8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fiftyone/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ def add_dynamic_sample_fields(
field.field
):
if add_mixed:
field.field = None
field.field = fof.Field()
else:
logger.warning(
"Skipping dynamic list field '%s' with mixed types %s",
Expand Down Expand Up @@ -1517,7 +1517,7 @@ def add_dynamic_frame_fields(
field.field
):
if add_mixed:
field.field = None
field.field = fof.Field()
else:
logger.warning(
"Skipping dynamic list frame field '%s' with mixed "
Expand Down

0 comments on commit 9481f8d

Please sign in to comment.