fmu-sumo 2.4.9__tar.gz → 2.4.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/PKG-INFO +1 -1
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/_version.py +2 -2
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/_search_context.py +3 -5
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu_sumo.egg-info/PKG-INFO +1 -1
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/.github/pull_request_template.md +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/.github/workflows/build_docs.yaml +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/.github/workflows/check_formatting.yml +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/.github/workflows/publish_release.yaml +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/.github/workflows/run_tests.yaml +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/.gitignore +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/.pre-commit-config.yaml +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/.readthedocs.yml +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/CONTRIBUTING.md +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/LICENSE +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/README.md +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/SECURITY.md +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/docs/_static/equinor-logo.png +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/docs/_static/equinor-logo2.jpg +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/docs/_static/equinor_logo.jpg +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/docs/_static/equinor_logo_only.jpg +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/docs/_templates/layout.html +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/docs/conf.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/docs/explorer.rst +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/docs/index.rst +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/examples/explorer.ipynb +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/examples/explorer2.ipynb +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/examples/grids-and-properties.ipynb +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/examples/metrics.ipynb +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/examples/table-aggregation.ipynb +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/examples/tables.ipynb +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/pyproject.toml +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/setup.cfg +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/__init__.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/__init__.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/__init__.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/cache.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/explorer.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/filters.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/__init__.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/_child.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/_document.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/_metrics.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/case.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/cases.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/cpgrid.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/cpgrid_property.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/cube.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/dictionary.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/ensemble.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/ensembles.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/iteration.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/iterations.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/polygons.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/realization.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/realizations.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/surface.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/objects/table.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu/sumo/explorer/timefilter.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu_sumo.egg-info/SOURCES.txt +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu_sumo.egg-info/dependency_links.txt +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu_sumo.egg-info/requires.txt +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/src/fmu_sumo.egg-info/top_level.txt +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/tests/conftest.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/tests/context.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/tests/test_explorer.py +0 -0
- {fmu_sumo-2.4.9 → fmu_sumo-2.4.10}/tests/test_objects_table.py +0 -0
|
@@ -1625,11 +1625,9 @@ class SearchContext:
|
|
|
1625
1625
|
async def _verify_aggregation_operation_async(
|
|
1626
1626
|
self, columns, operation
|
|
1627
1627
|
) -> Tuple[str, str, str, str]:
|
|
1628
|
-
assert (
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
and len(columns) == 1
|
|
1632
|
-
), "Exactly one column required for collection aggregation."
|
|
1628
|
+
assert columns is None or len(columns) == 1, (
|
|
1629
|
+
"Exactly one column required for collection aggregation."
|
|
1630
|
+
)
|
|
1633
1631
|
sc = self if columns is None else self.filter(column=columns)
|
|
1634
1632
|
query = sc.__prepare_verify_aggregation_query()
|
|
1635
1633
|
sres = (await self._sumo.post_async("/search", json=query)).json()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|