pipeline-eds 0.2.18__tar.gz → 0.2.20__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.
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/PKG-INFO +1 -1
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/pyproject.toml +1 -1
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/queriesmanager.py +0 -1
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/workspace_manager.py +4 -2
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/LICENSE +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/README.md +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/__init__.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/__main__.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/api/__init__.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/api/eds.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/api/rjn.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/api/status_api.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/calls.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/cli.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/configrationmanager.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/decorators.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/env.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/environment.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/gui_fastapi_plotly_live.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/gui_mpl_live.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/gui_plotly_static.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/helpers.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/install_appdata.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/logging_setup.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/pastehelpers.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/philosophy.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/plotbuffer.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/points_loader.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/src/pipeline/time_manager.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/default-workspace.toml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/__init__.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/code/__init__.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/code/aggregator.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/code/collector.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/code/sanitizer.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/code/storage.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/configurations/config_time.toml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/configurations/configuration.toml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/README.md +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/aggregate/README.md +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/aggregate/live_data - Copy.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/aggregate/live_data_EFF.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/aggregate/live_data_INF.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/export_eds_points_neo.txt +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/manual_data_load_to_postman_wetwell.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/manual_data_load_to_postman_wetwell.xlsx +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/manual_effluent.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/manual_influent.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/manual_wetwell.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/history/time_sample.txt +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/imports/zdMaxson_idcsD321E_sid11003.toml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/imports/zdMaxson_idcsFI8001_sid8528.toml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/imports/zdMaxson_idcsM100FI_sid2308.toml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/imports/zdMaxson_idcsM310LI_sid2382.toml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/queries/default-queries.toml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/queries/points-maxson.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/queries/points-stiles.csv +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/queries/timestamps_success.json +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/scripts/__init__.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/scripts/daemon_runner.py +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/secrets/README.md +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/secrets/secrets-example.yaml +0 -0
- {pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_termux/..txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "pipeline-eds"
|
3
|
-
version = "0.2.
|
3
|
+
version = "0.2.20"
|
4
4
|
description = "The official API pipeline library for mulch-based projects. Key target: Emerson Ovation EDS REST API."
|
5
5
|
authors = ["George Clayton Bennett <george.bennett@memphistn.gov>"]
|
6
6
|
license = "BSD-3"
|
@@ -63,7 +63,6 @@ class QueriesManager:
|
|
63
63
|
|
64
64
|
if not data:
|
65
65
|
# No stored value found — go back one hour from now, rounded down to nearest 5 minutes
|
66
|
-
one_hour_ago_local = TimeManager.now().as_unix() - 3600 # now - 1 hour in unix seconds
|
67
66
|
one_hour_ago_local = TimeManager(one_hour_ago_local).as_datetime()
|
68
67
|
#one_hour_ago_utc = TimeManager.from_local(one_hour_ago_local, zone_name = timezone_config)
|
69
68
|
tm = TimeManager(one_hour_ago_local).round_down_to_nearest_five()
|
@@ -267,8 +267,10 @@ class WorkspaceManager:
|
|
267
267
|
try:
|
268
268
|
return data['default-workspace']['workspace'] # This dictates the proper formatting of the TOML file.
|
269
269
|
except KeyError as e:
|
270
|
-
|
271
|
-
|
270
|
+
recent_ws = cls.most_recent_workspace_name() or "default"
|
271
|
+
default_toml_path.write_text(f"[default-workspace]\nworkspace = '{recent_ws}'\n")
|
272
|
+
#raise KeyError(f"Missing key in {cls.DEFAULT_WORKSPACE_TOML_FILE_NAME}: {e}")
|
273
|
+
return recent_ws
|
272
274
|
def get_default_query_file_paths_list(self):
|
273
275
|
|
274
276
|
default_query_path = self.get_queries_dir()/ 'default-queries.toml'
|
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
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/configurations/config_time.toml
RENAMED
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/configurations/configuration.toml
RENAMED
File without changes
|
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/aggregate/README.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/export_eds_points_neo.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/manual_effluent.csv
RENAMED
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/manual_influent.csv
RENAMED
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/exports/manual_wetwell.csv
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/queries/default-queries.toml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/queries/timestamps_success.json
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pipeline_eds-0.2.18 → pipeline_eds-0.2.20}/workspaces/eds_to_rjn/secrets/secrets-example.yaml
RENAMED
File without changes
|
File without changes
|