metaflow-stubs 2.15.15__py2.py3-none-any.whl → 2.15.17__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 (149) hide show
  1. metaflow-stubs/__init__.pyi +456 -452
  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 +26 -26
  8. metaflow-stubs/client/filecache.pyi +3 -3
  9. metaflow-stubs/events.pyi +6 -6
  10. metaflow-stubs/exception.pyi +2 -2
  11. metaflow-stubs/flowspec.pyi +5 -5
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +5 -5
  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 +3 -3
  18. metaflow-stubs/metadata_provider/util.pyi +2 -2
  19. metaflow-stubs/metaflow_config.pyi +4 -2
  20. metaflow-stubs/metaflow_current.pyi +22 -22
  21. metaflow-stubs/metaflow_git.pyi +2 -2
  22. metaflow-stubs/multicore_utils.pyi +2 -2
  23. metaflow-stubs/parameters.pyi +4 -4
  24. metaflow-stubs/plugins/__init__.pyi +11 -11
  25. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  27. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  28. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  29. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  30. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  31. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  32. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  33. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  34. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  35. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  36. metaflow-stubs/plugins/argo/argo_workflows.pyi +5 -3
  37. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +4 -4
  38. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +4 -4
  39. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -6
  40. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  41. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  42. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  43. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  44. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  45. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  46. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  47. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  48. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  49. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  52. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  53. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  54. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  55. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  56. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +4 -4
  57. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +4 -4
  58. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  59. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  60. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  61. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  62. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  63. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  64. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  65. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_client.pyi +2 -2
  67. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  68. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  69. metaflow-stubs/plugins/cards/card_decorator.pyi +2 -2
  70. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  71. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  72. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  73. metaflow-stubs/plugins/cards/card_modules/components.pyi +5 -5
  74. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  77. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  78. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  79. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  80. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  81. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  82. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  83. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  84. metaflow-stubs/plugins/datatools/s3/s3.pyi +17 -17
  85. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  86. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  87. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  88. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  89. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  90. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  91. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  92. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  93. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  94. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  95. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  96. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  97. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  98. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  99. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  100. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +3 -3
  101. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +4 -4
  102. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  103. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +8 -2
  104. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  105. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +2 -2
  106. metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  107. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  108. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  109. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  110. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  111. metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
  112. metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
  113. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  114. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  115. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  116. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  117. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  119. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  120. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  121. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  122. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  123. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  124. metaflow-stubs/plugins/uv/__init__.pyi +2 -2
  125. metaflow-stubs/plugins/uv/uv_environment.pyi +3 -3
  126. metaflow-stubs/pylint_wrapper.pyi +2 -2
  127. metaflow-stubs/runner/__init__.pyi +2 -2
  128. metaflow-stubs/runner/deployer.pyi +9 -6
  129. metaflow-stubs/runner/deployer_impl.pyi +2 -2
  130. metaflow-stubs/runner/metaflow_runner.pyi +4 -4
  131. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  132. metaflow-stubs/runner/nbrun.pyi +2 -2
  133. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  134. metaflow-stubs/runner/utils.pyi +3 -3
  135. metaflow-stubs/system/__init__.pyi +2 -2
  136. metaflow-stubs/system/system_logger.pyi +3 -3
  137. metaflow-stubs/system/system_monitor.pyi +2 -2
  138. metaflow-stubs/tagging_util.pyi +2 -2
  139. metaflow-stubs/tuple_util.pyi +2 -2
  140. metaflow-stubs/user_configs/__init__.pyi +2 -2
  141. metaflow-stubs/user_configs/config_decorators.pyi +7 -7
  142. metaflow-stubs/user_configs/config_options.pyi +3 -3
  143. metaflow-stubs/user_configs/config_parameters.pyi +4 -4
  144. metaflow-stubs/version.pyi +2 -2
  145. {metaflow_stubs-2.15.15.dist-info → metaflow_stubs-2.15.17.dist-info}/METADATA +2 -2
  146. metaflow_stubs-2.15.17.dist-info/RECORD +149 -0
  147. metaflow_stubs-2.15.15.dist-info/RECORD +0 -149
  148. {metaflow_stubs-2.15.15.dist-info → metaflow_stubs-2.15.17.dist-info}/WHEEL +0 -0
  149. {metaflow_stubs-2.15.15.dist-info → metaflow_stubs-2.15.17.dist-info}/top_level.txt +0 -0
metaflow-stubs/cards.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.710805 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.959080 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
metaflow-stubs/cli.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.720188 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.968606 #
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.15 #
4
- # Generated on 2025-05-30T13:33:59.718892 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.967304 #
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.15 #
4
- # Generated on 2025-05-30T13:33:59.741566 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.990423 #
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.15 #
4
- # Generated on 2025-05-30T13:33:59.711107 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.959361 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,20 +1,20 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.716257 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.964603 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
+ import typing
13
+ import metaflow.events
12
14
  import tarfile
15
+ import datetime
13
16
  import tempfile
14
- import metaflow.events
15
17
  import metaflow.client.core
16
- import typing
17
- import datetime
18
18
 
19
19
  from ..metaflow_current import current as current
20
20
  from ..events import Trigger as Trigger
@@ -611,7 +611,7 @@ class MetaflowData(object, metaclass=type):
611
611
  Task(...)['my_object'].data
612
612
  ```
613
613
  """
614
- def __init__(self, artifacts: typing.Iterable[DataArtifact]):
614
+ def __init__(self, artifacts: typing.Iterable[metaflow.client.core.DataArtifact]):
615
615
  ...
616
616
  def __getattr__(self, name: str):
617
617
  ...
@@ -698,7 +698,7 @@ class Task(MetaflowObject, metaclass=type):
698
698
  """
699
699
  ...
700
700
  @property
701
- def metadata(self) -> typing.List[Metadata]:
701
+ def metadata(self) -> typing.List[metaflow.client.core.Metadata]:
702
702
  """
703
703
  Metadata events produced by this task across all attempts of the task
704
704
  *except* if you selected a specific task attempt.
@@ -927,7 +927,7 @@ class Task(MetaflowObject, metaclass=type):
927
927
  """
928
928
  ...
929
929
  @property
930
- def code(self) -> typing.Optional[MetaflowCode]:
930
+ def code(self) -> typing.Optional[metaflow.client.core.MetaflowCode]:
931
931
  """
932
932
  Returns the MetaflowCode object for this task, if present.
933
933
 
@@ -972,7 +972,7 @@ class Task(MetaflowObject, metaclass=type):
972
972
  Tuple of timestamp, logline pairs.
973
973
  """
974
974
  ...
975
- def __iter__(self) -> typing.Iterator[DataArtifact]:
975
+ def __iter__(self) -> typing.Iterator[metaflow.client.core.DataArtifact]:
976
976
  """
977
977
  Iterate over all children DataArtifact of this Task
978
978
 
@@ -1027,7 +1027,7 @@ class Step(MetaflowObject, metaclass=type):
1027
1027
  Information about the execution environment.
1028
1028
  """
1029
1029
  @property
1030
- def task(self) -> typing.Optional[Task]:
1030
+ def task(self) -> typing.Optional[metaflow.client.core.Task]:
1031
1031
  """
1032
1032
  Returns a Task object belonging to this step.
1033
1033
 
@@ -1039,7 +1039,7 @@ class Step(MetaflowObject, metaclass=type):
1039
1039
  A task in the step
1040
1040
  """
1041
1041
  ...
1042
- def tasks(self, *tags: str) -> typing.Iterable[Task]:
1042
+ def tasks(self, *tags: str) -> typing.Iterable[metaflow.client.core.Task]:
1043
1043
  """
1044
1044
  [Legacy function - do not use]
1045
1045
 
@@ -1061,7 +1061,7 @@ class Step(MetaflowObject, metaclass=type):
1061
1061
  """
1062
1062
  ...
1063
1063
  @property
1064
- def control_task(self) -> typing.Optional[Task]:
1064
+ def control_task(self) -> typing.Optional[metaflow.client.core.Task]:
1065
1065
  """
1066
1066
  [Unpublished API - use with caution!]
1067
1067
 
@@ -1074,7 +1074,7 @@ class Step(MetaflowObject, metaclass=type):
1074
1074
  A control task in the step
1075
1075
  """
1076
1076
  ...
1077
- def control_tasks(self, *tags: str) -> typing.Iterator[Task]:
1077
+ def control_tasks(self, *tags: str) -> typing.Iterator[metaflow.client.core.Task]:
1078
1078
  """
1079
1079
  [Unpublished API - use with caution!]
1080
1080
 
@@ -1093,7 +1093,7 @@ class Step(MetaflowObject, metaclass=type):
1093
1093
  Control Task objects for this step
1094
1094
  """
1095
1095
  ...
1096
- def __iter__(self) -> typing.Iterator[Task]:
1096
+ def __iter__(self) -> typing.Iterator[metaflow.client.core.Task]:
1097
1097
  """
1098
1098
  Iterate over all children Task of this Step
1099
1099
 
@@ -1202,7 +1202,7 @@ class Run(MetaflowObject, metaclass=type):
1202
1202
  end_task : Task
1203
1203
  `Task` for the end step (if it is present already).
1204
1204
  """
1205
- def steps(self, *tags: str) -> typing.Iterator[Step]:
1205
+ def steps(self, *tags: str) -> typing.Iterator[metaflow.client.core.Step]:
1206
1206
  """
1207
1207
  [Legacy function - do not use]
1208
1208
 
@@ -1224,7 +1224,7 @@ class Run(MetaflowObject, metaclass=type):
1224
1224
  """
1225
1225
  ...
1226
1226
  @property
1227
- def code(self) -> typing.Optional[MetaflowCode]:
1227
+ def code(self) -> typing.Optional[metaflow.client.core.MetaflowCode]:
1228
1228
  """
1229
1229
  Returns the MetaflowCode object for this run, if present.
1230
1230
  Code is packed if atleast one `Step` runs remotely, else None is returned.
@@ -1236,7 +1236,7 @@ class Run(MetaflowObject, metaclass=type):
1236
1236
  """
1237
1237
  ...
1238
1238
  @property
1239
- def data(self) -> typing.Optional[MetaflowData]:
1239
+ def data(self) -> typing.Optional[metaflow.client.core.MetaflowData]:
1240
1240
  """
1241
1241
  Returns a container of data artifacts produced by this run.
1242
1242
 
@@ -1294,7 +1294,7 @@ class Run(MetaflowObject, metaclass=type):
1294
1294
  """
1295
1295
  ...
1296
1296
  @property
1297
- def end_task(self) -> typing.Optional[Task]:
1297
+ def end_task(self) -> typing.Optional[metaflow.client.core.Task]:
1298
1298
  """
1299
1299
  Returns the Task corresponding to the 'end' step.
1300
1300
 
@@ -1384,7 +1384,7 @@ class Run(MetaflowObject, metaclass=type):
1384
1384
  Tags to add.
1385
1385
  """
1386
1386
  ...
1387
- def __iter__(self) -> typing.Iterator[Step]:
1387
+ def __iter__(self) -> typing.Iterator[metaflow.client.core.Step]:
1388
1388
  """
1389
1389
  Iterate over all children Step of this Run
1390
1390
 
@@ -1448,7 +1448,7 @@ class Flow(MetaflowObject, metaclass=type):
1448
1448
  def __init__(self, *args, **kwargs):
1449
1449
  ...
1450
1450
  @property
1451
- def latest_run(self) -> typing.Optional[Run]:
1451
+ def latest_run(self) -> typing.Optional[metaflow.client.core.Run]:
1452
1452
  """
1453
1453
  Returns the latest run (either in progress or completed) of this flow.
1454
1454
 
@@ -1462,7 +1462,7 @@ class Flow(MetaflowObject, metaclass=type):
1462
1462
  """
1463
1463
  ...
1464
1464
  @property
1465
- def latest_successful_run(self) -> typing.Optional[Run]:
1465
+ def latest_successful_run(self) -> typing.Optional[metaflow.client.core.Run]:
1466
1466
  """
1467
1467
  Returns the latest successful run of this flow.
1468
1468
 
@@ -1472,7 +1472,7 @@ class Flow(MetaflowObject, metaclass=type):
1472
1472
  Latest successful run of this flow
1473
1473
  """
1474
1474
  ...
1475
- def runs(self, *tags: str) -> typing.Iterator[Run]:
1475
+ def runs(self, *tags: str) -> typing.Iterator[metaflow.client.core.Run]:
1476
1476
  """
1477
1477
  Returns an iterator over all `Run`s of this flow.
1478
1478
 
@@ -1491,7 +1491,7 @@ class Flow(MetaflowObject, metaclass=type):
1491
1491
  `Run` objects in this flow.
1492
1492
  """
1493
1493
  ...
1494
- def __iter__(self) -> typing.Iterator[Task]:
1494
+ def __iter__(self) -> typing.Iterator[metaflow.client.core.Task]:
1495
1495
  """
1496
1496
  Iterate over all children Run of this Flow.
1497
1497
 
@@ -1547,7 +1547,7 @@ class Metaflow(object, metaclass=type):
1547
1547
  def __init__(self, _current_metadata: typing.Optional[str] = None):
1548
1548
  ...
1549
1549
  @property
1550
- def flows(self) -> typing.List[Flow]:
1550
+ def flows(self) -> typing.List[metaflow.client.core.Flow]:
1551
1551
  """
1552
1552
  Returns a list of all the flows present.
1553
1553
 
@@ -1560,7 +1560,7 @@ class Metaflow(object, metaclass=type):
1560
1560
  List of all flows present.
1561
1561
  """
1562
1562
  ...
1563
- def __iter__(self) -> typing.Iterator[Flow]:
1563
+ def __iter__(self) -> typing.Iterator[metaflow.client.core.Flow]:
1564
1564
  """
1565
1565
  Iterator over all flows present.
1566
1566
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.741187 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.990034 #
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.datastore.content_addressed_store
13
12
  import metaflow.exception
13
+ import metaflow.datastore.content_addressed_store
14
14
 
15
15
  from ..exception import MetaflowException as MetaflowException
16
16
 
metaflow-stubs/events.pyi CHANGED
@@ -1,15 +1,15 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.703928 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.952371 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import metaflow.events
12
11
  import metaflow
12
+ import metaflow.events
13
13
 
14
14
 
15
15
  TYPE_CHECKING: bool
@@ -58,7 +58,7 @@ class Trigger(object, metaclass=type):
58
58
  def from_runs(cls, run_objs: typing.List["metaflow.Run"]):
59
59
  ...
60
60
  @property
61
- def event(self) -> typing.Optional[MetaflowEvent]:
61
+ def event(self) -> typing.Optional[metaflow.events.MetaflowEvent]:
62
62
  """
63
63
  The `MetaflowEvent` object corresponding to the triggering event.
64
64
 
@@ -71,7 +71,7 @@ class Trigger(object, metaclass=type):
71
71
  """
72
72
  ...
73
73
  @property
74
- def events(self) -> typing.Optional[typing.List[MetaflowEvent]]:
74
+ def events(self) -> typing.Optional[typing.List[metaflow.events.MetaflowEvent]]:
75
75
  """
76
76
  The list of `MetaflowEvent` objects correspondings to all the triggering events.
77
77
 
@@ -107,7 +107,7 @@ class Trigger(object, metaclass=type):
107
107
  List of runs that triggered this run, if applicable.
108
108
  """
109
109
  ...
110
- def __getitem__(self, key: str) -> typing.Union["metaflow.Run", MetaflowEvent]:
110
+ def __getitem__(self, key: str) -> typing.Union["metaflow.Run", metaflow.events.MetaflowEvent]:
111
111
  """
112
112
  If triggering events are runs, `key` corresponds to the flow name of the triggering run.
113
113
  Otherwise, `key` corresponds to the event name and a `MetaflowEvent` object is returned.
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.693999 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.942161 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.699522 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.947735 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.unbounded_foreach
13
12
  import metaflow.flowspec
14
- import metaflow.exception
15
13
  import typing
14
+ import metaflow.unbounded_foreach
15
+ import metaflow.exception
16
16
  import metaflow.datastore.inputs
17
17
 
18
18
  from . import parameters as parameters
@@ -1 +1 @@
1
- 2.15.15 2025-05-30T13:33:59.692302
1
+ 2.15.17 2025-06-13T18:00:27.940425
@@ -1,17 +1,17 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.710192 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.958446 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
- import typing
13
- import metaflow.parameters
14
12
  import metaflow._vendor.click.types
13
+ import metaflow.parameters
14
+ import typing
15
15
 
16
16
  from ._vendor import click as click
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.15 #
4
- # Generated on 2025-05-30T13:33:59.693095 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.941211 #
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.15 #
4
- # Generated on 2025-05-30T13:33:59.698289 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.946518 #
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.15 #
4
- # Generated on 2025-05-30T13:33:59.723221 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.971653 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,13 +1,13 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.722659 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.971109 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
12
  import metaflow.metadata_provider.metadata
13
13
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.722895 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.971347 #
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.15 #
4
- # Generated on 2025-05-30T13:33:59.695564 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.943764 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -193,6 +193,8 @@ KUBERNETES_CONTAINER_IMAGE: None
193
193
 
194
194
  KUBERNETES_IMAGE_PULL_POLICY: None
195
195
 
196
+ KUBERNETES_IMAGE_PULL_SECRETS: str
197
+
196
198
  KUBERNETES_CONTAINER_REGISTRY: None
197
199
 
198
200
  KUBERNETES_FETCH_EC2_METADATA: bool
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.798084 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:28.047982 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import metaflow.metaflow_current
12
11
  import metaflow.events
13
- import metaflow.plugins.cards.component_serializer
14
12
  import typing
13
+ import metaflow.plugins.cards.component_serializer
15
14
  import metaflow
15
+ import metaflow.metaflow_current
16
16
 
17
17
 
18
18
  TYPE_CHECKING: bool
@@ -225,6 +225,24 @@ class Current(object, metaclass=type):
225
225
  def graph(self):
226
226
  ...
227
227
  @property
228
+ def card(self) -> "metaflow.plugins.cards.component_serializer.CardComponentCollector":
229
+ """
230
+ (only in the presence of the @card decorator)
231
+
232
+ The `@card` decorator makes the cards available through the `current.card`
233
+ object. If multiple `@card` decorators are present, you can add an `ID` to
234
+ distinguish between them using `@card(id=ID)` as the decorator. You will then
235
+ be able to access that specific card using `current.card[ID].
236
+
237
+ Methods available are `append` and `extend`
238
+
239
+ Returns
240
+ -------
241
+ CardComponentCollector
242
+ The or one of the cards attached to this step.
243
+ """
244
+ ...
245
+ @property
228
246
  def parallel(self) -> "metaflow.metaflow_current.Parallel":
229
247
  """
230
248
  (only in the presence of the @parallel decorator)
@@ -254,24 +272,6 @@ class Current(object, metaclass=type):
254
272
  """
255
273
  ...
256
274
  @property
257
- def card(self) -> "metaflow.plugins.cards.component_serializer.CardComponentCollector":
258
- """
259
- (only in the presence of the @card decorator)
260
-
261
- The `@card` decorator makes the cards available through the `current.card`
262
- object. If multiple `@card` decorators are present, you can add an `ID` to
263
- distinguish between them using `@card(id=ID)` as the decorator. You will then
264
- be able to access that specific card using `current.card[ID].
265
-
266
- Methods available are `append` and `extend`
267
-
268
- Returns
269
- -------
270
- CardComponentCollector
271
- The or one of the cards attached to this step.
272
- """
273
- ...
274
- @property
275
275
  def trigger(self) -> "metaflow.events.Trigger":
276
276
  """
277
277
  (only in the presence of the @trigger, or @trigger_on_finish decorators)
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.704330 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.951657 #
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.15 #
4
- # Generated on 2025-05-30T13:33:59.696045 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.944248 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,13 +1,13 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.697485 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.945664 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
9
  import metaflow
10
+ import typing
11
11
  if typing.TYPE_CHECKING:
12
12
  import typing
13
13
  import metaflow.parameters
@@ -170,7 +170,7 @@ class Parameter(object, metaclass=type):
170
170
  If True, show the default value in the help text. A value of None is equivalent
171
171
  to True.
172
172
  """
173
- def __init__(self, name: str, default: typing.Union[str, float, int, bool, typing.Dict[str, typing.Any], typing.Callable[[ParameterContext], typing.Union[str, float, int, bool, typing.Dict[str, typing.Any]]], None] = None, type: typing.Union[typing.Type[str], typing.Type[float], typing.Type[int], typing.Type[bool], JSONTypeClass, None] = None, help: typing.Optional[str] = None, required: typing.Optional[bool] = None, show_default: typing.Optional[bool] = None, **kwargs: typing.Dict[str, typing.Any]):
173
+ def __init__(self, name: str, default: typing.Union[str, float, int, bool, typing.Dict[str, typing.Any], typing.Callable[[metaflow.parameters.ParameterContext], typing.Union[str, float, int, bool, typing.Dict[str, typing.Any]]], None] = None, type: typing.Union[typing.Type[str], typing.Type[float], typing.Type[int], typing.Type[bool], metaflow.parameters.JSONTypeClass, None] = None, help: typing.Optional[str] = None, required: typing.Optional[bool] = None, show_default: typing.Optional[bool] = None, **kwargs: typing.Dict[str, typing.Any]):
174
174
  ...
175
175
  def init(self, ignore_errors = False):
176
176
  ...
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.15 #
4
- # Generated on 2025-05-30T13:33:59.705452 #
3
+ # MF version: 2.15.17 #
4
+ # Generated on 2025-06-13T18:00:27.953692 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,27 +9,27 @@ from __future__ import annotations
9
9
 
10
10
  from . import test_unbounded_foreach_decorator as test_unbounded_foreach_decorator
11
11
  from .test_unbounded_foreach_decorator import InternalTestUnboundedForeachInput as InternalTestUnboundedForeachInput
12
- from . import catch_decorator as catch_decorator
13
- from . import parallel_decorator as parallel_decorator
14
12
  from . import kubernetes as kubernetes
15
13
  from . import resources_decorator as resources_decorator
16
14
  from . import timeout_decorator as timeout_decorator
17
15
  from . import aws as aws
16
+ from . import pypi as pypi
18
17
  from . import argo as argo
19
18
  from . import cards as cards
20
- from . import airflow as airflow
21
- from . import frameworks as frameworks
22
- from . import datatools as datatools
23
- from . import pypi as pypi
24
- from . import environment_decorator as environment_decorator
25
19
  from . import retry_decorator as retry_decorator
20
+ from . import environment_decorator as environment_decorator
26
21
  from . import secrets as secrets
22
+ from . import parallel_decorator as parallel_decorator
23
+ from . import datatools as datatools
24
+ from . import frameworks as frameworks
25
+ from . import airflow as airflow
26
+ from . import catch_decorator as catch_decorator
27
27
  from . import events_decorator as events_decorator
28
28
  from . import project_decorator as project_decorator
29
29
  from . import uv as uv
30
- from . import azure as azure
31
- from . import storage_executor as storage_executor
32
30
  from . import gcp as gcp
31
+ from . import storage_executor as storage_executor
32
+ from . import azure as azure
33
33
  from . import debug_logger as debug_logger
34
34
  from . import debug_monitor as debug_monitor
35
35
  from .cards.card_modules.basic import BlankCard as BlankCard