metaflow-stubs 2.15.14__py2.py3-none-any.whl → 2.15.16__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 +517 -517
  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 +5 -5
  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 +3 -3
  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 +2 -2
  20. metaflow-stubs/metaflow_current.pyi +36 -36
  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 +10 -10
  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 +3 -3
  37. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +2 -2
  38. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +2 -2
  39. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +4 -6
  40. metaflow-stubs/plugins/aws/__init__.pyi +3 -3
  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 +4 -4
  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 +3 -3
  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 +4 -4
  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 +2 -2
  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 +2 -2
  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 +15 -15
  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 +4 -4
  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 +2 -2
  101. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  102. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  103. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -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 +3 -3
  119. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  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 +2 -2
  123. metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  124. metaflow-stubs/plugins/uv/__init__.pyi +2 -2
  125. metaflow-stubs/plugins/uv/uv_environment.pyi +2 -2
  126. metaflow-stubs/pylint_wrapper.pyi +2 -2
  127. metaflow-stubs/runner/__init__.pyi +2 -2
  128. metaflow-stubs/runner/deployer.pyi +7 -4
  129. metaflow-stubs/runner/deployer_impl.pyi +5 -2
  130. metaflow-stubs/runner/metaflow_runner.pyi +6 -3
  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 +6 -3
  135. metaflow-stubs/system/__init__.pyi +2 -2
  136. metaflow-stubs/system/system_logger.pyi +2 -2
  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 +5 -5
  142. metaflow-stubs/user_configs/config_options.pyi +3 -3
  143. metaflow-stubs/user_configs/config_parameters.pyi +77 -17
  144. metaflow-stubs/version.pyi +2 -2
  145. {metaflow_stubs-2.15.14.dist-info → metaflow_stubs-2.15.16.dist-info}/METADATA +2 -2
  146. metaflow_stubs-2.15.16.dist-info/RECORD +149 -0
  147. {metaflow_stubs-2.15.14.dist-info → metaflow_stubs-2.15.16.dist-info}/WHEEL +1 -1
  148. metaflow_stubs-2.15.14.dist-info/RECORD +0 -149
  149. {metaflow_stubs-2.15.14.dist-info → metaflow_stubs-2.15.16.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.14 #
4
- # Generated on 2025-05-21T14:01:03.694434 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.551308 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.703925 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.560643 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.702659 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.559388 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.725319 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.582422 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.694737 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.551578 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.700012 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.556720 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,12 +9,12 @@ from __future__ import annotations
9
9
  import typing
10
10
  import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.events
13
- import metaflow.client.core
14
- import typing
15
- import tempfile
16
12
  import tarfile
17
13
  import datetime
14
+ import tempfile
15
+ import metaflow.client.core
16
+ import typing
17
+ import metaflow.events
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.14 #
4
- # Generated on 2025-05-21T14:01:03.724942 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.582023 #
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,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.14 #
4
- # Generated on 2025-05-21T14:01:03.687597 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.544803 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -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.14 #
4
- # Generated on 2025-05-21T14:01:03.678112 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.534439 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.683631 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.539992 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -10,8 +10,8 @@ import typing
10
10
  import metaflow
11
11
  if typing.TYPE_CHECKING:
12
12
  import metaflow.flowspec
13
- import metaflow.exception
14
13
  import metaflow.datastore.inputs
14
+ import metaflow.exception
15
15
  import metaflow.unbounded_foreach
16
16
  import typing
17
17
 
@@ -1 +1 @@
1
- 2.15.14 2025-05-21T14:01:03.676380
1
+ 2.15.16 2025-06-10T23:43:51.532662
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.14 #
4
- # Generated on 2025-05-21T14:01:03.693824 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.550678 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -10,8 +10,8 @@ import typing
10
10
  import metaflow
11
11
  if typing.TYPE_CHECKING:
12
12
  import metaflow.parameters
13
- import typing
14
13
  import metaflow._vendor.click.types
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.14 #
4
- # Generated on 2025-05-21T14:01:03.677176 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.533462 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.682400 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.538767 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.706963 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.563742 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.706400 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.563179 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.706658 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.563430 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.679643 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.535974 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.781197 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.640798 #
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
- import metaflow
13
- import typing
14
11
  import metaflow.metaflow_current
15
12
  import metaflow.plugins.cards.component_serializer
13
+ import metaflow
14
+ import typing
15
+ import metaflow.events
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,37 +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
- def trigger(self) -> "metaflow.events.Trigger":
276
- """
277
- (only in the presence of the @trigger_on_finish, or @trigger decorators)
278
-
279
- Returns `Trigger` if the current run is triggered by an event
280
-
281
- Returns
282
- -------
283
- Trigger
284
- `Trigger` if triggered by an event
285
- """
286
- ...
287
- @property
288
275
  def project_name(self) -> str:
289
276
  """
290
277
  (only in the presence of the @project decorator)
@@ -351,6 +338,19 @@ class Current(object, metaclass=type):
351
338
  True if the flow is deployed with `--production`.
352
339
  """
353
340
  ...
341
+ @property
342
+ def trigger(self) -> "metaflow.events.Trigger":
343
+ """
344
+ (only in the presence of the @trigger_on_finish, or @trigger decorators)
345
+
346
+ Returns `Trigger` if the current run is triggered by an event
347
+
348
+ Returns
349
+ -------
350
+ Trigger
351
+ `Trigger` if triggered by an event
352
+ """
353
+ ...
354
354
  ...
355
355
 
356
356
  current: Current
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.15.14 #
4
- # Generated on 2025-05-21T14:01:03.687816 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.543933 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.680113 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.536463 #
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.14 #
4
- # Generated on 2025-05-21T14:01:03.681583 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.537926 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -10,8 +10,8 @@ import typing
10
10
  import metaflow
11
11
  if typing.TYPE_CHECKING:
12
12
  import metaflow.parameters
13
- import typing
14
13
  import metaflow._vendor.click.types
14
+ import typing
15
15
 
16
16
  from ._vendor import click as click
17
17
  from .exception import ParameterFieldFailed as ParameterFieldFailed
@@ -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.14 #
4
- # Generated on 2025-05-21T14:01:03.688911 #
3
+ # MF version: 2.15.16 #
4
+ # Generated on 2025-06-10T23:43:51.545928 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,23 +9,23 @@ 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 retry_decorator as retry_decorator
12
+ from . import secrets as secrets
13
+ from . import pypi as pypi
14
+ from . import cards as cards
15
+ from . import aws as aws
16
+ from . import timeout_decorator as timeout_decorator
17
+ from . import datatools as datatools
13
18
  from . import frameworks as frameworks
14
19
  from . import parallel_decorator as parallel_decorator
15
20
  from . import kubernetes as kubernetes
16
21
  from . import resources_decorator as resources_decorator
17
- from . import timeout_decorator as timeout_decorator
18
- from . import aws as aws
19
22
  from . import airflow as airflow
20
- from . import datatools as datatools
21
23
  from . import argo as argo
22
- from . import pypi as pypi
24
+ from . import retry_decorator as retry_decorator
23
25
  from . import environment_decorator as environment_decorator
24
- from . import secrets as secrets
25
- from . import cards as cards
26
26
  from . import catch_decorator as catch_decorator
27
- from . import events_decorator as events_decorator
28
27
  from . import project_decorator as project_decorator
28
+ from . import events_decorator as events_decorator
29
29
  from . import uv as uv
30
30
  from . import gcp as gcp
31
31
  from . import storage_executor as storage_executor