metaflow-stubs 2.15.0__py2.py3-none-any.whl → 2.15.2__py2.py3-none-any.whl

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 (146) hide show
  1. metaflow-stubs/__init__.pyi +443 -440
  2. metaflow-stubs/cards.pyi +2 -2
  3. metaflow-stubs/cli.pyi +2 -2
  4. metaflow-stubs/cli_components/__init__.pyi +2 -2
  5. metaflow-stubs/cli_components/utils.pyi +2 -2
  6. metaflow-stubs/client/__init__.pyi +2 -2
  7. metaflow-stubs/client/core.pyi +3 -3
  8. metaflow-stubs/client/filecache.pyi +3 -3
  9. metaflow-stubs/events.pyi +3 -3
  10. metaflow-stubs/exception.pyi +2 -2
  11. metaflow-stubs/flowspec.pyi +3 -3
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +2 -2
  14. metaflow-stubs/info_file.pyi +2 -2
  15. metaflow-stubs/metadata_provider/__init__.pyi +2 -2
  16. metaflow-stubs/metadata_provider/heartbeat.pyi +2 -2
  17. metaflow-stubs/metadata_provider/metadata.pyi +2 -2
  18. metaflow-stubs/metadata_provider/util.pyi +2 -2
  19. metaflow-stubs/metaflow_config.pyi +4 -2
  20. metaflow-stubs/metaflow_current.pyi +4 -4
  21. metaflow-stubs/multicore_utils.pyi +2 -2
  22. metaflow-stubs/parameters.pyi +2 -2
  23. metaflow-stubs/plugins/__init__.pyi +10 -10
  24. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  25. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  27. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  28. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  29. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  30. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  31. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  32. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  33. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  34. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  35. metaflow-stubs/plugins/argo/argo_workflows.pyi +2 -2
  36. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  37. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +2 -2
  38. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +3 -3
  39. metaflow-stubs/plugins/aws/__init__.pyi +3 -3
  40. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  41. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  42. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  43. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  44. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  45. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  46. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  47. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  48. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  49. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  52. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  53. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  54. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  55. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
  56. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +3 -3
  57. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  58. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  59. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  60. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  61. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  62. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  63. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  64. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  65. metaflow-stubs/plugins/cards/card_client.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  67. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  68. metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  69. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  70. metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  71. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  72. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  73. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  74. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  77. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  78. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  79. metaflow-stubs/plugins/catch_decorator.pyi +2 -2
  80. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  81. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  82. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  83. metaflow-stubs/plugins/datatools/s3/s3.pyi +3 -3
  84. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  85. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  86. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  87. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  88. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  89. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  90. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  91. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  92. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  93. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  94. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  95. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  96. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  97. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  98. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  99. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +2 -2
  100. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  101. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  102. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +4 -2
  103. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  104. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  105. metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  106. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  107. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  108. metaflow-stubs/plugins/pypi/__init__.pyi +4 -3
  109. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  110. metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
  111. metaflow-stubs/plugins/pypi/parsers.pyi +113 -0
  112. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  113. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  114. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  115. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  116. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  117. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  118. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  119. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  120. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  121. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  122. metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  123. metaflow-stubs/pylint_wrapper.pyi +2 -2
  124. metaflow-stubs/runner/__init__.pyi +2 -2
  125. metaflow-stubs/runner/deployer.pyi +29 -29
  126. metaflow-stubs/runner/deployer_impl.pyi +2 -2
  127. metaflow-stubs/runner/metaflow_runner.pyi +3 -3
  128. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  129. metaflow-stubs/runner/nbrun.pyi +2 -2
  130. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  131. metaflow-stubs/runner/utils.pyi +3 -3
  132. metaflow-stubs/system/__init__.pyi +2 -2
  133. metaflow-stubs/system/system_logger.pyi +2 -2
  134. metaflow-stubs/system/system_monitor.pyi +2 -2
  135. metaflow-stubs/tagging_util.pyi +2 -2
  136. metaflow-stubs/tuple_util.pyi +2 -2
  137. metaflow-stubs/user_configs/__init__.pyi +2 -2
  138. metaflow-stubs/user_configs/config_decorators.pyi +5 -5
  139. metaflow-stubs/user_configs/config_options.pyi +2 -2
  140. metaflow-stubs/user_configs/config_parameters.pyi +6 -6
  141. metaflow-stubs/version.pyi +2 -2
  142. {metaflow_stubs-2.15.0.dist-info → metaflow_stubs-2.15.2.dist-info}/METADATA +2 -2
  143. metaflow_stubs-2.15.2.dist-info/RECORD +146 -0
  144. {metaflow_stubs-2.15.0.dist-info → metaflow_stubs-2.15.2.dist-info}/WHEEL +1 -1
  145. metaflow_stubs-2.15.0.dist-info/RECORD +0 -145
  146. {metaflow_stubs-2.15.0.dist-info → metaflow_stubs-2.15.2.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.374221 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.960943 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.349622 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.951704 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.379186 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.981004 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -10,8 +10,8 @@ import metaflow
10
10
  import abc
11
11
  import typing
12
12
  if typing.TYPE_CHECKING:
13
- import metaflow.exception
14
13
  import metaflow.plugins.secrets
14
+ import metaflow.exception
15
15
  import abc
16
16
 
17
17
  from ...exception import MetaflowException as MetaflowException
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.378187 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.980013 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.378046 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.979873 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.378403 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.980220 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.378867 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.980703 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.347240 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.949510 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.369040 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.969204 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.372994 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.973074 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.371885 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.972025 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.373710 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.973801 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -61,6 +61,8 @@ KUBERNETES_TOLERATIONS: str
61
61
 
62
62
  KUBERNETES_QOS: str
63
63
 
64
+ KUBERNETES_CONDA_ARCH: None
65
+
64
66
  UBF_CONTROL: str
65
67
 
66
68
  SUPPORTED_KUBERNETES_QOS_CLASSES: list
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.371552 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.971652 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.370779 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.970653 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.373948 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.974034 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.344811 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.946882 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.348876 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.950941 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.344208 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.947648 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,11 +9,12 @@ from __future__ import annotations
9
9
 
10
10
  from ... import metaflow_config as metaflow_config
11
11
  from ...exception import MetaflowException as MetaflowException
12
- from . import conda_decorator as conda_decorator
13
12
  from . import pypi_decorator as pypi_decorator
13
+ from . import conda_decorator as conda_decorator
14
14
  from . import utils as utils
15
15
  from . import conda_environment as conda_environment
16
16
  from . import pypi_environment as pypi_environment
17
+ from . import parsers as parsers
17
18
 
18
19
  MAGIC_FILE: str
19
20
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.359273 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.963078 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,19 +1,19 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.360685 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.964084 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import io
10
9
  import metaflow
10
+ import io
11
11
  import abc
12
12
  import typing
13
13
  if typing.TYPE_CHECKING:
14
- import io
15
- import metaflow.exception
16
14
  import metaflow.metaflow_environment
15
+ import metaflow.exception
16
+ import io
17
17
  import abc
18
18
 
19
19
  from ...exception import MetaflowException as MetaflowException
@@ -0,0 +1,113 @@
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.930811 #
5
+ ######################################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+ import metaflow
10
+ import typing
11
+ if typing.TYPE_CHECKING:
12
+ import metaflow.exception
13
+
14
+ from ...exception import MetaflowException as MetaflowException
15
+
16
+ class ParserValueError(metaflow.exception.MetaflowException, metaclass=type):
17
+ ...
18
+
19
+ def requirements_txt_parser(content: str):
20
+ """
21
+ Parse non-comment lines from a requirements.txt file as strictly valid
22
+ PEP 508 requirements.
23
+
24
+ Recognizes direct references (e.g. "my_lib @ git+https://..."), extras
25
+ (e.g. "requests[security]"), and version specifiers (e.g. "==2.0"). If
26
+ the package name is "python", its specifier is stored in the "python"
27
+ key instead of "packages".
28
+
29
+ Parameters
30
+ ----------
31
+ content : str
32
+ Contents of a requirements.txt file.
33
+
34
+ Returns
35
+ -------
36
+ dict
37
+ A dictionary with two keys:
38
+ - "packages": dict(str -> str)
39
+ Mapping from package name (plus optional extras/references) to a
40
+ version specifier string.
41
+ - "python": str or None
42
+ The Python version constraints if present, otherwise None.
43
+
44
+ Raises
45
+ ------
46
+ ParserValueError
47
+ If a requirement line is invalid PEP 508 or if environment markers are
48
+ detected, or if multiple Python constraints are specified.
49
+ """
50
+ ...
51
+
52
+ def pyproject_toml_parser(content: str):
53
+ """
54
+ Parse a pyproject.toml file per PEP 621.
55
+
56
+ Reads the 'requires-python' and 'dependencies' fields from the "[project]" section.
57
+ Each dependency line must be a valid PEP 508 requirement. If the package name is
58
+ "python", its specifier is stored in the "python" key instead of "packages".
59
+
60
+ Parameters
61
+ ----------
62
+ content : str
63
+ Contents of a pyproject.toml file.
64
+
65
+ Returns
66
+ -------
67
+ dict
68
+ A dictionary with two keys:
69
+ - "packages": dict(str -> str)
70
+ Mapping from package name (plus optional extras/references) to a
71
+ version specifier string.
72
+ - "python": str or None
73
+ The Python version constraints if present, otherwise None.
74
+
75
+ Raises
76
+ ------
77
+ RuntimeError
78
+ If no TOML library (tomllib in Python 3.11+ or tomli in earlier versions) is found.
79
+ ParserValueError
80
+ If a dependency is not valid PEP 508, if environment markers are used, or if
81
+ multiple Python constraints are specified.
82
+ """
83
+ ...
84
+
85
+ def conda_environment_yml_parser(content: str):
86
+ """
87
+ Parse a minimal environment.yml file under strict assumptions.
88
+
89
+ The file must contain a 'dependencies:' line, after which each dependency line
90
+ appears with a '- ' prefix. Python can appear as 'python=3.9', etc.; other
91
+ packages as 'numpy=1.21.2' or simply 'numpy'. Non-compliant lines raise ParserValueError.
92
+
93
+ Parameters
94
+ ----------
95
+ content : str
96
+ Contents of a environment.yml file.
97
+
98
+ Returns
99
+ -------
100
+ dict
101
+ A dictionary with keys:
102
+ {
103
+ "packages": dict(str -> str),
104
+ "python": str or None
105
+ }
106
+
107
+ Raises
108
+ ------
109
+ ParserValueError
110
+ If the file has malformed lines or unsupported sections.
111
+ """
112
+ ...
113
+
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.359643 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.962455 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.360824 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.964217 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.359888 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.963318 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.344385 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.949288 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.347011 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.946202 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.345110 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.948869 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.361593 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.967041 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.361393 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.966847 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.349411 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.951457 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.343947 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.945969 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,8 +9,8 @@ from __future__ import annotations
9
9
  import metaflow
10
10
  import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.unbounded_foreach
13
12
  import metaflow.decorators
13
+ import metaflow.unbounded_foreach
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16
  from ..metadata_provider.metadata import MetaDatum as MetaDatum
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.346158 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.948330 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.337219 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.939275 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.0 #
4
- # Generated on 2025-02-25T21:21:51.323806 #
3
+ # MF version: 2.15.2 #
4
+ # Generated on 2025-03-01T03:37:25.925139 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations