cave-utils 3.4.2__tar.gz → 3.4.3__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.
- {cave_utils-3.4.2/cave_utils.egg-info → cave_utils-3.4.3}/PKG-INFO +1 -1
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/pages.py +3 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api_utils/validator_utils.py +0 -3
- {cave_utils-3.4.2 → cave_utils-3.4.3/cave_utils.egg-info}/PKG-INFO +1 -1
- {cave_utils-3.4.2 → cave_utils-3.4.3}/pyproject.toml +1 -1
- {cave_utils-3.4.2 → cave_utils-3.4.3}/setup.cfg +1 -1
- {cave_utils-3.4.2 → cave_utils-3.4.3}/LICENSE +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/NOTICE.md +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/README.md +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/__init__.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/__init__.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/appBar.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/extraKwargs.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/globalOutputs.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/groupedOutputs.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/mapFeatures.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/maps.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/panes.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api/settings.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api_utils/__init__.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api_utils/general.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/api_utils/validator.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/arguments.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/builders/__init__.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/builders/groups.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/custom_coordinates.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/geo_utils.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/log.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils/socket.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils.egg-info/SOURCES.txt +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils.egg-info/dependency_links.txt +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils.egg-info/requires.txt +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/cave_utils.egg-info/top_level.txt +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/test/test_arguments.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/test/test_builders_groups.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/test/test_custom_coordinates.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/test/test_geo_utils.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/test/test_log.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/test/test_socket.py +0 -0
- {cave_utils-3.4.2 → cave_utils-3.4.3}/test/test_validator.py +0 -0
|
@@ -173,6 +173,7 @@ class pages_data_star_charts(ApiValidator):
|
|
|
173
173
|
distributionVariant: str | None = None,
|
|
174
174
|
xAxisOrder: str | None = None,
|
|
175
175
|
showNA: bool = False,
|
|
176
|
+
filters: list[dict] | None = None,
|
|
176
177
|
**kwargs,
|
|
177
178
|
):
|
|
178
179
|
"""
|
|
@@ -259,6 +260,7 @@ class pages_data_star_charts(ApiValidator):
|
|
|
259
260
|
* `"alpha_descending"`: Orders the x-axis in reverse alphabetical order.
|
|
260
261
|
* **Note**: If left unspecified (i.e., `None`), it will default to `"default"`.
|
|
261
262
|
* **`showNA`**: `[bool]` = `False` → Whether to display missing or filtered values in both the chart tooltip and the axis.
|
|
263
|
+
* **`filters`**: `[dict]` = `None` → A list of filter dictionaries to apply to the chart data.
|
|
262
264
|
|
|
263
265
|
[area chart]: https://en.wikipedia.org/wiki/Area_chart
|
|
264
266
|
[bar chart]: https://en.wikipedia.org/wiki/Bar_chart
|
|
@@ -277,6 +279,7 @@ class pages_data_star_charts(ApiValidator):
|
|
|
277
279
|
[waterfall chart]: https://en.wikipedia.org/wiki/Waterfall_chart
|
|
278
280
|
[distribution chart]: https://en.wikipedia.org/wiki/Probability_distribution
|
|
279
281
|
"""
|
|
282
|
+
# TODO: Document and validate filters
|
|
280
283
|
if type == "globalOutput":
|
|
281
284
|
chartType_options = ["bar", "line", "table", "overview"]
|
|
282
285
|
elif type == "groupedOutput":
|
|
@@ -80,9 +80,6 @@ class ApiValidator:
|
|
|
80
80
|
def __genericKeyValidation__(self, **kwargs):
|
|
81
81
|
# Remove `timeValues` out prior to each level validation
|
|
82
82
|
data_timeValues = self.data.pop("timeValues", None)
|
|
83
|
-
# Remove 'ignore_keys' from data to avoid validation issues
|
|
84
|
-
for key in self.ignore_keys:
|
|
85
|
-
self.data.pop(key, None)
|
|
86
83
|
# Remove `order` out prior to each level validation
|
|
87
84
|
data_order = self.data.pop("order", None)
|
|
88
85
|
if data_timeValues is not None:
|
|
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
|