hydraflow 0.4.3__tar.gz → 0.4.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. {hydraflow-0.4.3 → hydraflow-0.4.4}/PKG-INFO +2 -2
  2. {hydraflow-0.4.3 → hydraflow-0.4.4}/pyproject.toml +2 -2
  3. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/context.py +4 -3
  4. {hydraflow-0.4.3 → hydraflow-0.4.4}/.devcontainer/devcontainer.json +0 -0
  5. {hydraflow-0.4.3 → hydraflow-0.4.4}/.devcontainer/postCreate.sh +0 -0
  6. {hydraflow-0.4.3 → hydraflow-0.4.4}/.devcontainer/starship.toml +0 -0
  7. {hydraflow-0.4.3 → hydraflow-0.4.4}/.gitattributes +0 -0
  8. {hydraflow-0.4.3 → hydraflow-0.4.4}/.gitignore +0 -0
  9. {hydraflow-0.4.3 → hydraflow-0.4.4}/LICENSE +0 -0
  10. {hydraflow-0.4.3 → hydraflow-0.4.4}/README.md +0 -0
  11. {hydraflow-0.4.3 → hydraflow-0.4.4}/apps/quickstart.py +0 -0
  12. {hydraflow-0.4.3 → hydraflow-0.4.4}/mkdocs.yml +0 -0
  13. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/__init__.py +0 -0
  14. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/asyncio.py +0 -0
  15. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/config.py +0 -0
  16. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/mlflow.py +0 -0
  17. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/param.py +0 -0
  18. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/progress.py +0 -0
  19. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/py.typed +0 -0
  20. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/run_collection.py +0 -0
  21. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/run_data.py +0 -0
  22. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/run_info.py +0 -0
  23. {hydraflow-0.4.3 → hydraflow-0.4.4}/src/hydraflow/utils.py +0 -0
  24. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/__init__.py +0 -0
  25. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/integ/__init__.py +0 -0
  26. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/integ/app.py +0 -0
  27. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/scripts/__init__.py +0 -0
  28. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/scripts/app.py +0 -0
  29. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/scripts/progress.py +0 -0
  30. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/scripts/watch.py +0 -0
  31. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_app.py +0 -0
  32. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_asyncio.py +0 -0
  33. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_config.py +0 -0
  34. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_context.py +0 -0
  35. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_log_run.py +0 -0
  36. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_mlflow.py +0 -0
  37. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_param.py +0 -0
  38. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_progress.py +0 -0
  39. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_run_collection.py +0 -0
  40. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_run_data.py +0 -0
  41. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_run_info.py +0 -0
  42. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_version.py +0 -0
  43. {hydraflow-0.4.3 → hydraflow-0.4.4}/tests/test_watch.py +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: hydraflow
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments.
5
5
  Project-URL: Documentation, https://github.com/daizutabi/hydraflow
6
6
  Project-URL: Source, https://github.com/daizutabi/hydraflow
7
7
  Project-URL: Issues, https://github.com/daizutabi/hydraflow/issues
8
8
  Author-email: daizutabi <daizutabi@gmail.com>
9
- License-Expression: MIT
9
+ License: MIT
10
10
  License-File: LICENSE
11
11
  Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Programming Language :: Python
@@ -4,10 +4,10 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hydraflow"
7
- version = "0.4.3"
7
+ version = "0.4.4"
8
8
  description = "Hydraflow integrates Hydra and MLflow to manage and track machine learning experiments."
9
9
  readme = "README.md"
10
- license = "MIT"
10
+ license = { text = "MIT" }
11
11
  authors = [{ name = "daizutabi", email = "daizutabi@gmail.com" }]
12
12
  classifiers = [
13
13
  "Development Status :: 4 - Beta",
@@ -28,7 +28,7 @@ log = logging.getLogger(__name__)
28
28
 
29
29
  @contextmanager
30
30
  def log_run(
31
- config: object,
31
+ config: object | None,
32
32
  *,
33
33
  synchronous: bool | None = None,
34
34
  ) -> Iterator[None]:
@@ -54,7 +54,8 @@ def log_run(
54
54
  ```
55
55
 
56
56
  """
57
- log_params(config, synchronous=synchronous)
57
+ if config:
58
+ log_params(config, synchronous=synchronous)
58
59
 
59
60
  hc = HydraConfig.get()
60
61
  output_dir = Path(hc.runtime.output_dir)
@@ -139,7 +140,7 @@ def start_run( # noqa: PLR0913
139
140
  description=description,
140
141
  log_system_metrics=log_system_metrics,
141
142
  ) as run,
142
- log_run(config, synchronous=synchronous),
143
+ log_run(config if run_id is None else None, synchronous=synchronous),
143
144
  ):
144
145
  yield run
145
146
 
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