fmu-sumo 2.4.6__tar.gz → 2.4.8__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.6 → fmu_sumo-2.4.8}/.github/workflows/check_formatting.yml +5 -6
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/.readthedocs.yml +1 -1
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/PKG-INFO +1 -1
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/_version.py +2 -2
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/_search_context.py +5 -3
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu_sumo.egg-info/PKG-INFO +1 -1
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/.github/pull_request_template.md +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/.github/workflows/build_docs.yaml +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/.github/workflows/publish_release.yaml +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/.github/workflows/run_tests.yaml +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/.gitignore +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/.pre-commit-config.yaml +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/CONTRIBUTING.md +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/LICENSE +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/README.md +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/SECURITY.md +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/docs/_static/equinor-logo.png +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/docs/_static/equinor-logo2.jpg +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/docs/_static/equinor_logo.jpg +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/docs/_static/equinor_logo_only.jpg +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/docs/_templates/layout.html +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/docs/conf.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/docs/explorer.rst +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/docs/index.rst +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/examples/explorer.ipynb +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/examples/explorer2.ipynb +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/examples/grids-and-properties.ipynb +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/examples/metrics.ipynb +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/examples/table-aggregation.ipynb +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/examples/tables.ipynb +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/pyproject.toml +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/setup.cfg +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/__init__.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/__init__.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/__init__.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/cache.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/explorer.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/filters.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/__init__.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/_child.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/_document.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/_metrics.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/case.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/cases.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/cpgrid.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/cpgrid_property.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/cube.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/dictionary.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/ensemble.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/ensembles.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/iteration.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/iterations.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/polygons.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/realization.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/realizations.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/surface.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/objects/table.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu/sumo/explorer/timefilter.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu_sumo.egg-info/SOURCES.txt +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu_sumo.egg-info/dependency_links.txt +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu_sumo.egg-info/requires.txt +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/src/fmu_sumo.egg-info/top_level.txt +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/tests/conftest.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/tests/context.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/tests/test_explorer.py +0 -0
- {fmu_sumo-2.4.6 → fmu_sumo-2.4.8}/tests/test_objects_table.py +0 -0
|
@@ -14,18 +14,17 @@ jobs:
|
|
|
14
14
|
|
|
15
15
|
steps:
|
|
16
16
|
- uses: actions/checkout@v4
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
- uses: actions/setup-python@v5
|
|
19
19
|
with:
|
|
20
|
-
python-version:
|
|
21
|
-
cache:
|
|
22
|
-
|
|
20
|
+
python-version: "3.12"
|
|
21
|
+
cache: "pip"
|
|
22
|
+
|
|
23
23
|
- name: Installing dependencies
|
|
24
24
|
run: pip install ruff
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
- name: Run ruff lint
|
|
27
27
|
run: ruff check .
|
|
28
28
|
|
|
29
29
|
- name: Run ruff format
|
|
30
30
|
run: ruff format . --check
|
|
31
|
-
|
|
@@ -1654,7 +1654,7 @@ class SearchContext:
|
|
|
1654
1654
|
print(ex.response.reason_phrase)
|
|
1655
1655
|
print(ex.response.text)
|
|
1656
1656
|
raise ex
|
|
1657
|
-
res = self._sumo.
|
|
1657
|
+
res = await self._sumo.poll_async(res).json()
|
|
1658
1658
|
return self._to_sumo(res)
|
|
1659
1659
|
|
|
1660
1660
|
async def aggregate_async(
|
|
@@ -1847,12 +1847,14 @@ class SearchContext:
|
|
|
1847
1847
|
@property
|
|
1848
1848
|
def vertical_domains(self) -> List[str]:
|
|
1849
1849
|
"""List of unique object vertical domains."""
|
|
1850
|
-
return self.get_field_values("data.vertical_domain")
|
|
1850
|
+
return self.get_field_values("data.vertical_domain.keyword")
|
|
1851
1851
|
|
|
1852
1852
|
@property
|
|
1853
1853
|
async def vertical_domains_async(self) -> List[str]:
|
|
1854
1854
|
"""List of unique object vertical domains."""
|
|
1855
|
-
return await self.get_field_values_async(
|
|
1855
|
+
return await self.get_field_values_async(
|
|
1856
|
+
"data.vertical_domain.keyword"
|
|
1857
|
+
)
|
|
1856
1858
|
|
|
1857
1859
|
@property
|
|
1858
1860
|
def stages(self) -> List[str]:
|
|
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
|