workflow.core 1.9.7__tar.gz → 1.9.9__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.
- {workflow_core-1.9.7 → workflow_core-1.9.9}/PKG-INFO +1 -1
- {workflow_core-1.9.7 → workflow_core-1.9.9}/pyproject.toml +1 -1
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/daemons/transfer.py +2 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/definitions/config.py +6 -1
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/workspaces/chimefrb.yml +6 -6
- {workflow_core-1.9.7 → workflow_core-1.9.9}/README.md +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/buckets.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/configs.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/main.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/pipelines.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/results.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/run.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/schedules.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/cli/workspace.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/daemons/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/daemons/audit.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/definitions/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/definitions/jsonschema.md +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/definitions/notify.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/definitions/work.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/definitions/workspace.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/examples/autocomplete.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/examples/function.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/examples/sample.svg +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/examples/sample.workflow.yml +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/exceptions.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/helpers/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/helpers/date.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/http/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/http/buckets.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/http/client.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/http/configs.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/http/context.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/http/pipelines.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/http/results.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/http/schedules.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/lifecycle/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/lifecycle/archive/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/lifecycle/archive/http.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/lifecycle/archive/posix.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/lifecycle/archive/s3.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/lifecycle/attempt.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/lifecycle/configure.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/lifecycle/execute.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/decorators.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/logger.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/prompt.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/read.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/renderers.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/tmate.sh +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/validate.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/variables.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/utils/write.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/workspaces/__init__.py +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/workspaces/development.yml +0 -0
- {workflow_core-1.9.7 → workflow_core-1.9.9}/workflow/workspaces/site-dev.yml +0 -0
|
@@ -120,6 +120,8 @@ def check(payload: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
|
|
|
120
120
|
"""
|
|
121
121
|
for data in payload:
|
|
122
122
|
for key in ["products", "plots", "logs"]:
|
|
123
|
+
if key not in data["config"]["archive"].keys():
|
|
124
|
+
continue
|
|
123
125
|
if data["config"]["archive"][key] == "pass":
|
|
124
126
|
data["config"]["archive"][key] = "bypass"
|
|
125
127
|
return payload
|
|
@@ -47,8 +47,13 @@ class Archive(BaseSettings):
|
|
|
47
47
|
description="Archive strategy for the plots.",
|
|
48
48
|
examples=["move"],
|
|
49
49
|
)
|
|
50
|
+
logs: str = Field(
|
|
51
|
+
default="move",
|
|
52
|
+
description="Archive strategy for the logs.",
|
|
53
|
+
examples=["move"],
|
|
54
|
+
)
|
|
50
55
|
|
|
51
|
-
@field_validator("products", "plots")
|
|
56
|
+
@field_validator("products", "plots", "logs")
|
|
52
57
|
def validate_archive(cls, value: str) -> str:
|
|
53
58
|
"""Validate the archive strategy.
|
|
54
59
|
|
|
@@ -20,14 +20,14 @@ http:
|
|
|
20
20
|
- http://frb-vsop.chime:8005
|
|
21
21
|
- https://frb.chimenet.ca/workflow/results
|
|
22
22
|
pipelines:
|
|
23
|
-
- http://frb-vsop.chime:8007
|
|
24
|
-
- https://frb.chimenet.ca/workflow/pipelines
|
|
23
|
+
- http://frb-vsop.chime:8007/v2
|
|
24
|
+
- https://frb.chimenet.ca/workflow/pipelines/v2
|
|
25
25
|
configs:
|
|
26
|
-
- http://frb-vsop.chime:8007
|
|
27
|
-
- https://frb.chimenet.ca/workflow/pipelines
|
|
26
|
+
- http://frb-vsop.chime:8007/v2
|
|
27
|
+
- https://frb.chimenet.ca/workflow/pipelines/v2
|
|
28
28
|
schedules:
|
|
29
|
-
- http://frb-vsop.chime:8007
|
|
30
|
-
- https://frb.chimenet.ca/workflow/pipelines
|
|
29
|
+
- http://frb-vsop.chime:8007/v2
|
|
30
|
+
- https://frb.chimenet.ca/workflow/pipelines/v2
|
|
31
31
|
loki: https://frb.chimenet.ca/loki/loki/api/v1/push
|
|
32
32
|
# This is the prefix url to make a output data plot or product accessible to the user
|
|
33
33
|
products: https://frb.chimenet.ca/frb-master/v1/events/query-file?filename=
|
|
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
|