diff --git a/app/packages/core/src/components/Filters/NumericFieldFilter/Box.tsx b/app/packages/core/src/components/Filters/NumericFieldFilter/Box.tsx index b90a0b3bd5..53344e9a2c 100644 --- a/app/packages/core/src/components/Filters/NumericFieldFilter/Box.tsx +++ b/app/packages/core/src/components/Filters/NumericFieldFilter/Box.tsx @@ -14,12 +14,13 @@ const BoxDiv = styled.div` export default function Box({ children, text, -}: React.PropsWithChildren<{ text?: string }>) { + height = 30, +}: React.PropsWithChildren<{ text?: string; height?: number }>) { const value = text === "Loading" ? : text; return ( `_ | """ + from enum import Enum import typing as t @@ -58,6 +59,9 @@ def from_dict(d: t.Dict[str, t.Dict[str, t.Any]]): def _from_dict(d: t.Dict[str, t.Dict[str, t.Any]]): indexes: t.List[Index] = [] for name, index in d.items(): + if index.get("in_progress", False): + continue + key = [_index_key_from_dict(*field) for field in index["key"]] if None in key: continue diff --git a/fiftyone/server/query.py b/fiftyone/server/query.py index d5835cc697..ee5c11894a 100644 --- a/fiftyone/server/query.py +++ b/fiftyone/server/query.py @@ -697,5 +697,5 @@ def _assign_estimated_counts(dataset: Dataset, fo_dataset: fo.Dataset): def _assign_lightning_info(dataset: Dataset, fo_dataset: fo.Dataset): dataset.sample_indexes, dataset.frame_indexes = indexes_from_dict( - fo_dataset.get_index_information() + fo_dataset.get_index_information(include_stats=True) )