From b6221a5d4e5b38c1551d5bae2c887961998e29c9 Mon Sep 17 00:00:00 2001 From: blakeNaccarato Date: Fri, 2 Aug 2024 09:04:07 -0700 Subject: [PATCH] Introduce params syncing script now that it's not a side-effect in main params module --- .vscode/tasks.json | 2 +- src/boilercore/models/sync_params.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/boilercore/models/sync_params.py diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 76f4d85..953a7ad 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -87,7 +87,7 @@ "label": "dvc: sync params", "type": "process", "command": "pwsh", - "args": ["-Command", "python -m boilercore.models.params"], + "args": ["-Command", "python -m boilercore.models.sync_params"], "icon": { "id": "graph" }, "problemMatcher": [] }, diff --git a/src/boilercore/models/sync_params.py b/src/boilercore/models/sync_params.py new file mode 100644 index 0000000..2ac358e --- /dev/null +++ b/src/boilercore/models/sync_params.py @@ -0,0 +1,6 @@ +"""Sync params.""" + +from boilercore.models.params import Params + +if __name__ == "__main__": + Params()