datashare-python 0.8.4__tar.gz → 0.8.6__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.
Files changed (28) hide show
  1. {datashare_python-0.8.4 → datashare_python-0.8.6}/PKG-INFO +2 -2
  2. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/cli/worker.py +8 -2
  3. datashare_python-0.8.6/datashare_python/worker-template.tar.gz +0 -0
  4. {datashare_python-0.8.4 → datashare_python-0.8.6}/pyproject.toml +2 -2
  5. datashare_python-0.8.4/datashare_python/worker-template.tar.gz +0 -0
  6. {datashare_python-0.8.4 → datashare_python-0.8.6}/.gitignore +0 -0
  7. {datashare_python-0.8.4 → datashare_python-0.8.6}/README.md +0 -0
  8. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/.gitignore +0 -0
  9. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/__init__.py +0 -0
  10. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/__main__.py +0 -0
  11. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/cli/__init__.py +0 -0
  12. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/cli/project.py +0 -0
  13. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/cli/task.py +0 -0
  14. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/cli/utils.py +0 -0
  15. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/config.py +0 -0
  16. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/conftest.py +0 -0
  17. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/constants.py +0 -0
  18. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/dependencies.py +0 -0
  19. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/discovery.py +0 -0
  20. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/exceptions.py +0 -0
  21. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/interceptors.py +0 -0
  22. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/logging_.py +0 -0
  23. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/objects.py +0 -0
  24. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/task_client.py +0 -0
  25. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/template.py +0 -0
  26. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/types_.py +0 -0
  27. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/utils.py +0 -0
  28. {datashare_python-0.8.4 → datashare_python-0.8.6}/datashare_python/worker.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datashare-python
3
- Version: 0.8.4
3
+ Version: 0.8.6
4
4
  Summary: Manage Python tasks and local resources in Datashare
5
5
  Project-URL: Homepage, https://icij.github.io/datashare-python/
6
6
  Project-URL: Documentation, https://icij.github.io/datashare-python/
@@ -18,4 +18,4 @@ Requires-Dist: python-json-logger~=4.0
18
18
  Requires-Dist: pyyaml~=6.0
19
19
  Requires-Dist: temporalio~=1.23
20
20
  Requires-Dist: tomlkit~=0.14.0
21
- Requires-Dist: typer~=0.15.4
21
+ Requires-Dist: typer<0.25.1,>=0.15.4
@@ -77,10 +77,16 @@ to the documentation to learn how to do so."""
77
77
  async def start(
78
78
  queue: Annotated[str, typer.Option("--queue", "-q", help=_WORKER_QUEUE_HELP)],
79
79
  workflows: Annotated[
80
- list[str] | None, typer.Option(help=_START_WORKER_WORKFLOWS_HELP)
80
+ list[str] | None,
81
+ typer.Option(
82
+ "--workflows", "--workflow", "-w", help=_START_WORKER_WORKFLOWS_HELP
83
+ ),
81
84
  ] = None,
82
85
  activities: Annotated[
83
- list[str] | None, typer.Option(help=_START_WORKER_ACTIVITIES_HELP)
86
+ list[str] | None,
87
+ typer.Option(
88
+ "--activities", "--activity", "-a", help=_START_WORKER_ACTIVITIES_HELP
89
+ ),
84
90
  ] = None,
85
91
  dependencies: Annotated[
86
92
  str | None, typer.Option(help=_START_WORKER_DEPS_HELP)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "datashare-python"
3
- version = "0.8.4"
3
+ version = "0.8.6"
4
4
  description = "Manage Python tasks and local resources in Datashare"
5
5
  authors = [
6
6
  { name = "Clément Doumouro", email = "cdoumouro@icij.org" },
@@ -16,7 +16,7 @@ dependencies = [
16
16
  "python-json-logger~=4.0",
17
17
  "nest-asyncio~=1.6",
18
18
  "temporalio~=1.23",
19
- "typer~=0.15.4",
19
+ "typer>=0.15.4,<0.25.1",
20
20
  "tomlkit~=0.14.0",
21
21
  "hatchling~=1.27",
22
22
  "pyyaml~=6.0",