diff --git a/docs/source/release-notes.rst b/docs/source/release-notes.rst index dd063d6672..75c003169a 100644 --- a/docs/source/release-notes.rst +++ b/docs/source/release-notes.rst @@ -3,6 +3,17 @@ FiftyOne Release Notes .. default-role:: code +.. _release-notes-v0.16.4: + +FiftyOne 0.16.4 +--------------- +*Released June 21, 2022* + +App + +- Fixed frame fields omission in the sidebar + `#1899 `_ + .. _release-notes-v0.16.3: FiftyOne 0.16.3 diff --git a/fiftyone/server/query.py b/fiftyone/server/query.py index 17eb02a2f6..584651638e 100644 --- a/fiftyone/server/query.py +++ b/fiftyone/server/query.py @@ -22,6 +22,7 @@ import fiftyone.constants as foc import fiftyone.core.context as focx import fiftyone.core.dataset as fod +import fiftyone.core.media as fom import fiftyone.core.uid as fou import fiftyone.core.view as fov @@ -191,7 +192,7 @@ async def resolver( # old dataset docs, e.g. from imports have frame fields attached even for # image datasets. we need to remove them - if dataset.media_type != MediaType.video: + if dataset.media_type != fom.VIDEO: dataset.frame_fields = [] return dataset @@ -303,7 +304,7 @@ def serialize_dataset(dataset: fod.Dataset, view: fov.DatasetView) -> t.Dict: # old dataset docs, e.g. from imports have frame fields attached even for # image datasets. we need to remove them - if data.media_type != MediaType.video: + if dataset.media_type != fom.VIDEO: data.frame_fields = [] return asdict(data) diff --git a/setup.py b/setup.py index 84b2b88907..594f03f340 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import setup, find_packages -VERSION = "0.16.3" +VERSION = "0.16.4" def get_version():