metaflow-stubs 2.16.6__py2.py3-none-any.whl → 2.16.8__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.

Potentially problematic release.


This version of metaflow-stubs might be problematic. Click here for more details.

Files changed (166) hide show
  1. metaflow-stubs/__init__.pyi +424 -424
  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 +6 -6
  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 +6 -6
  12. metaflow-stubs/generated_for.txt +1 -1
  13. metaflow-stubs/includefile.pyi +4 -4
  14. metaflow-stubs/meta_files.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 +2 -2
  20. metaflow-stubs/metaflow_current.pyi +28 -28
  21. metaflow-stubs/metaflow_git.pyi +2 -2
  22. metaflow-stubs/multicore_utils.pyi +2 -2
  23. metaflow-stubs/packaging_sys/__init__.pyi +12 -12
  24. metaflow-stubs/packaging_sys/backend.pyi +21 -8
  25. metaflow-stubs/packaging_sys/distribution_support.pyi +4 -4
  26. metaflow-stubs/packaging_sys/tar_backend.pyi +17 -8
  27. metaflow-stubs/packaging_sys/utils.pyi +2 -2
  28. metaflow-stubs/packaging_sys/v1.pyi +3 -3
  29. metaflow-stubs/parameters.pyi +4 -4
  30. metaflow-stubs/plugins/__init__.pyi +13 -13
  31. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  32. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  33. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  34. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  35. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  36. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +2 -2
  37. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +2 -2
  38. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +2 -2
  39. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  40. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  41. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  42. metaflow-stubs/plugins/argo/argo_workflows.pyi +33 -4
  43. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +3 -3
  44. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +3 -3
  45. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +25 -3
  46. metaflow-stubs/plugins/argo/exit_hooks.pyi +3 -3
  47. metaflow-stubs/plugins/aws/__init__.pyi +3 -3
  48. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  49. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  50. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  51. metaflow-stubs/plugins/aws/batch/batch.pyi +2 -2
  52. metaflow-stubs/plugins/aws/batch/batch_client.pyi +2 -2
  53. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +2 -2
  54. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  55. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +3 -3
  56. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  57. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  58. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  59. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  60. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +2 -2
  61. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +2 -2
  62. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +2 -2
  63. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +3 -3
  64. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +14 -3
  65. metaflow-stubs/plugins/azure/__init__.pyi +2 -2
  66. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  67. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  68. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +3 -3
  69. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  70. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  71. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  72. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  73. metaflow-stubs/plugins/cards/card_client.pyi +2 -2
  74. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_decorator.pyi +3 -3
  77. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  78. metaflow-stubs/plugins/cards/card_modules/basic.pyi +2 -2
  79. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  80. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  81. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  82. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  83. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +2 -2
  84. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  85. metaflow-stubs/plugins/cards/component_serializer.pyi +2 -2
  86. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  87. metaflow-stubs/plugins/catch_decorator.pyi +2 -2
  88. metaflow-stubs/plugins/datatools/__init__.pyi +2 -2
  89. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  90. metaflow-stubs/plugins/datatools/s3/__init__.pyi +2 -2
  91. metaflow-stubs/plugins/datatools/s3/s3.pyi +4 -4
  92. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  93. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  94. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  95. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  96. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  97. metaflow-stubs/plugins/events_decorator.pyi +2 -2
  98. metaflow-stubs/plugins/exit_hook/__init__.pyi +2 -2
  99. metaflow-stubs/plugins/exit_hook/exit_hook_decorator.pyi +2 -2
  100. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  101. metaflow-stubs/plugins/frameworks/pytorch.pyi +2 -2
  102. metaflow-stubs/plugins/gcp/__init__.pyi +2 -2
  103. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +3 -3
  104. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  105. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  106. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  107. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  108. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  109. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +3 -3
  110. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +2 -2
  111. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  112. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +2 -2
  113. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  114. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +3 -2
  115. metaflow-stubs/plugins/kubernetes/spot_monitor_sidecar.pyi +2 -2
  116. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  117. metaflow-stubs/plugins/project_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/pypi/__init__.pyi +3 -3
  119. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  120. metaflow-stubs/plugins/pypi/conda_environment.pyi +5 -5
  121. metaflow-stubs/plugins/pypi/parsers.pyi +2 -2
  122. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  123. metaflow-stubs/plugins/pypi/pypi_environment.pyi +2 -2
  124. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  125. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  126. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  127. metaflow-stubs/plugins/secrets/__init__.pyi +3 -3
  128. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +2 -2
  129. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  130. metaflow-stubs/plugins/secrets/secrets_func.pyi +2 -2
  131. metaflow-stubs/plugins/secrets/secrets_spec.pyi +2 -2
  132. metaflow-stubs/plugins/secrets/utils.pyi +2 -2
  133. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  134. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  135. metaflow-stubs/plugins/timeout_decorator.pyi +2 -2
  136. metaflow-stubs/plugins/uv/__init__.pyi +2 -2
  137. metaflow-stubs/plugins/uv/uv_environment.pyi +3 -3
  138. metaflow-stubs/pylint_wrapper.pyi +2 -2
  139. metaflow-stubs/runner/__init__.pyi +2 -2
  140. metaflow-stubs/runner/deployer.pyi +54 -23
  141. metaflow-stubs/runner/deployer_impl.pyi +3 -3
  142. metaflow-stubs/runner/metaflow_runner.pyi +4 -4
  143. metaflow-stubs/runner/nbdeploy.pyi +2 -2
  144. metaflow-stubs/runner/nbrun.pyi +2 -2
  145. metaflow-stubs/runner/subprocess_manager.pyi +2 -2
  146. metaflow-stubs/runner/utils.pyi +5 -5
  147. metaflow-stubs/system/__init__.pyi +2 -2
  148. metaflow-stubs/system/system_logger.pyi +3 -3
  149. metaflow-stubs/system/system_monitor.pyi +2 -2
  150. metaflow-stubs/tagging_util.pyi +2 -2
  151. metaflow-stubs/tuple_util.pyi +2 -2
  152. metaflow-stubs/user_configs/__init__.pyi +2 -2
  153. metaflow-stubs/user_configs/config_options.pyi +3 -3
  154. metaflow-stubs/user_configs/config_parameters.pyi +4 -4
  155. metaflow-stubs/user_decorators/__init__.pyi +2 -2
  156. metaflow-stubs/user_decorators/common.pyi +2 -2
  157. metaflow-stubs/user_decorators/mutable_flow.pyi +5 -5
  158. metaflow-stubs/user_decorators/mutable_step.pyi +5 -5
  159. metaflow-stubs/user_decorators/user_flow_decorator.pyi +5 -5
  160. metaflow-stubs/user_decorators/user_step_decorator.pyi +7 -7
  161. metaflow-stubs/version.pyi +2 -2
  162. {metaflow_stubs-2.16.6.dist-info → metaflow_stubs-2.16.8.dist-info}/METADATA +2 -2
  163. metaflow_stubs-2.16.8.dist-info/RECORD +166 -0
  164. metaflow_stubs-2.16.6.dist-info/RECORD +0 -166
  165. {metaflow_stubs-2.16.6.dist-info → metaflow_stubs-2.16.8.dist-info}/WHEEL +0 -0
  166. {metaflow_stubs-2.16.6.dist-info → metaflow_stubs-2.16.8.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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.966774 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.005498 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.976179 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.015498 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.974872 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.014352 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:37.003876 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.045686 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.967039 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.005775 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.972229 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.011240 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import typing
13
- import datetime
14
12
  import metaflow.events
15
- import metaflow.client.core
13
+ import datetime
16
14
  import tempfile
17
15
  import tarfile
16
+ import typing
17
+ import metaflow.client.core
18
18
 
19
19
  from ..metaflow_current import current as current
20
20
  from ..events import Trigger as Trigger
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.6 #
4
- # Generated on 2025-07-24T19:01:37.003476 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.044317 #
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.exception
13
12
  import metaflow.datastore.content_addressed_store
13
+ import metaflow.exception
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.960495 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.998774 #
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
12
11
  import metaflow.events
12
+ import metaflow
13
13
 
14
14
 
15
15
  TYPE_CHECKING: bool
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.6 #
4
- # Generated on 2025-07-24T19:01:36.948733 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.986601 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.954424 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.992535 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.flowspec
13
- import typing
14
- import metaflow.exception
15
12
  import metaflow.unbounded_foreach
16
13
  import metaflow.datastore.inputs
14
+ import metaflow.exception
15
+ import metaflow.flowspec
16
+ import typing
17
17
 
18
18
  from . import parameters as parameters
19
19
  from .parameters import DelayedEvaluationParameter as DelayedEvaluationParameter
@@ -1 +1 @@
1
- 2.16.6 2025-07-24T19:01:36.943177
1
+ 2.16.8 2025-07-29T19:28:33.980812
@@ -1,16 +1,16 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.6 #
4
- # Generated on 2025-07-24T19:01:36.966146 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.004855 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
11
11
  if typing.TYPE_CHECKING:
12
- import metaflow.parameters
13
12
  import typing
13
+ import metaflow.parameters
14
14
  import metaflow._vendor.click.types
15
15
 
16
16
  from ._vendor import click as click
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.6 #
4
- # Generated on 2025-07-24T19:01:36.943980 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.981653 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.953216 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.991286 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.985113 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.025040 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.984549 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.024453 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import metaflow
10
9
  import typing
10
+ import metaflow
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.984794 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.024699 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.950292 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.988218 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:37.062785 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.107588 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import typing
12
- import metaflow.plugins.cards.component_serializer
13
11
  import metaflow.events
14
- import metaflow
12
+ import metaflow.plugins.cards.component_serializer
15
13
  import metaflow.metaflow_current
14
+ import typing
15
+ import metaflow
16
16
 
17
17
 
18
18
  TYPE_CHECKING: bool
@@ -225,24 +225,6 @@ 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
246
228
  def parallel(self) -> "metaflow.metaflow_current.Parallel":
247
229
  """
248
230
  (only in the presence of the @parallel decorator)
@@ -272,16 +254,21 @@ class Current(object, metaclass=type):
272
254
  """
273
255
  ...
274
256
  @property
275
- def trigger(self) -> "metaflow.events.Trigger":
257
+ def card(self) -> "metaflow.plugins.cards.component_serializer.CardComponentCollector":
276
258
  """
277
- (only in the presence of the @trigger, or @trigger_on_finish decorators)
259
+ (only in the presence of the @card decorator)
278
260
 
279
- Returns `Trigger` if the current run is triggered by an event
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`
280
267
 
281
268
  Returns
282
269
  -------
283
- Trigger
284
- `Trigger` if triggered by an event
270
+ CardComponentCollector
271
+ The or one of the cards attached to this step.
285
272
  """
286
273
  ...
287
274
  @property
@@ -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, or @trigger_on_finish 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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.959821 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.998077 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.950753 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.988681 #
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.16.6 #
4
- # Generated on 2025-07-24T19:01:36.947766 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:33.985548 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -10,11 +10,11 @@ import typing
10
10
  import metaflow
11
11
  import enum
12
12
  if typing.TYPE_CHECKING:
13
- import typing
14
- import enum
15
13
  import metaflow.packaging_sys
16
- import metaflow.packaging_sys.backend
17
14
  import metaflow.packaging_sys.tar_backend
15
+ import typing
16
+ import metaflow.packaging_sys.backend
17
+ import enum
18
18
  import metaflow.extension_support.metadata
19
19
 
20
20
  from . import distribution_support as distribution_support
@@ -97,7 +97,7 @@ class MetaflowCodeContent(object, metaclass=type):
97
97
  """
98
98
  ...
99
99
  @classmethod
100
- def get_env_vars_for_packaged_metaflow(cls, dest_dir: str) -> typing.Optional[typing.Dict[str, str]]:
100
+ def get_env_vars_for_packaged_metaflow(cls, dest_dir: str) -> typing.Dict[str, str]:
101
101
  """
102
102
  Get the environment variables that are needed to run Metaflow when it is
103
103
  packaged. This is typically used to set the PYTHONPATH to include the
@@ -105,9 +105,9 @@ class MetaflowCodeContent(object, metaclass=type):
105
105
 
106
106
  Returns
107
107
  -------
108
- Optional[Dict[str, str]]
108
+ Dict[str, str]
109
109
  The environment variables that are needed to run Metaflow when it is
110
- packaged -- None if there are no such variables (not packaged for example)
110
+ packaged it present.
111
111
  """
112
112
  ...
113
113
  @classmethod
@@ -157,7 +157,7 @@ class MetaflowCodeContent(object, metaclass=type):
157
157
  """
158
158
  ...
159
159
  @classmethod
160
- def get_archive_content_names(cls, archive: typing.Any, content_types: typing.Optional[int] = None, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.List[str]:
160
+ def get_archive_content_members(cls, archive: typing.Any, content_types: typing.Optional[int] = None, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.List[typing.Any]:
161
161
  ...
162
162
  @classmethod
163
163
  def get_distribution_finder(cls) -> typing.Optional["metaflow.extension_support.metadata.DistributionFinder"]:
@@ -218,7 +218,7 @@ class MetaflowCodeContent(object, metaclass=type):
218
218
  def get_archive_filename_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, filename: str, content_type: ContentType, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.Optional[str]:
219
219
  ...
220
220
  @classmethod
221
- def get_archive_content_names_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, content_types: typing.Optional[int] = None, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.List[str]:
221
+ def get_archive_content_members_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, content_types: typing.Optional[int] = None, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.List[typing.Any]:
222
222
  ...
223
223
  @classmethod
224
224
  def get_post_extract_env_vars_impl(cls, dest_dir: str) -> typing.Dict[str, str]:
@@ -370,7 +370,7 @@ class MetaflowCodeContentV0(MetaflowCodeContent, metaclass=type):
370
370
  def get_archive_filename_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, filename: str, content_type: ContentType, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> str:
371
371
  ...
372
372
  @classmethod
373
- def get_archive_content_names_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, content_types: typing.Optional[int] = None, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.List[str]:
373
+ def get_archive_content_members_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, content_types: typing.Optional[int] = None, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.List[typing.Any]:
374
374
  """
375
375
  For V0, we use a static list of known files to classify the content
376
376
  """
@@ -421,7 +421,7 @@ class MetaflowCodeContentV1Base(MetaflowCodeContent, metaclass=type):
421
421
  def get_archive_filename_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, filename: str, content_type: ContentType, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> str:
422
422
  ...
423
423
  @classmethod
424
- def get_archive_content_names_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, content_types: typing.Optional[int] = None, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.List[str]:
424
+ def get_archive_content_members_impl(cls, mfcontent_info: typing.Optional[typing.Dict[str, typing.Any]], archive: typing.Any, content_types: typing.Optional[int] = None, packaging_backend: typing.Type[metaflow.packaging_sys.backend.PackagingBackend] = metaflow.packaging_sys.tar_backend.TarPackagingBackend) -> typing.List[typing.Any]:
425
425
  ...
426
426
  @classmethod
427
427
  def get_post_extract_env_vars_impl(cls, dest_dir: str) -> typing.Dict[str, str]:
@@ -1,16 +1,16 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.6 #
4
- # Generated on 2025-07-24T19:01:36.977728 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.017191 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import abc
10
9
  import typing
10
+ import abc
11
11
  if typing.TYPE_CHECKING:
12
- import abc
13
12
  import typing
13
+ import abc
14
14
  import _io
15
15
 
16
16
 
@@ -46,24 +46,37 @@ class PackagingBackend(abc.ABC, metaclass=abc.ABCMeta):
46
46
  """
47
47
  ...
48
48
  @classmethod
49
+ def cls_member_name(cls, member: typing.Union[typing.Any, str]) -> str:
50
+ """
51
+ Returns the name of the member as a string.
52
+ This is used to ensure consistent naming across different archive formats.
53
+ """
54
+ ...
55
+ @classmethod
49
56
  def cls_has_member(cls, archive: typing.Any, name: str) -> bool:
50
57
  ...
51
58
  @classmethod
52
59
  def cls_get_member(cls, archive: typing.Any, name: str) -> typing.Optional[bytes]:
53
60
  ...
54
61
  @classmethod
55
- def cls_extract_members(cls, archive: typing.Any, members: typing.Optional[typing.List[str]] = None, dest_dir: str = '.'):
62
+ def cls_extract_members(cls, archive: typing.Any, members: typing.Optional[typing.List[typing.Any]] = None, dest_dir: str = '.'):
63
+ ...
64
+ @classmethod
65
+ def cls_list_names(cls, archive: typing.Any) -> typing.Optional[typing.List[str]]:
56
66
  ...
57
67
  @classmethod
58
- def cls_list_members(cls, archive: typing.Any) -> typing.Optional[typing.List[str]]:
68
+ def cls_list_members(cls, archive: typing.Any) -> typing.Optional[typing.List[typing.Any]]:
69
+ """
70
+ List all members in the archive.
71
+ """
59
72
  ...
60
73
  def has_member(self, name: str) -> bool:
61
74
  ...
62
75
  def get_member(self, name: str) -> typing.Optional[bytes]:
63
76
  ...
64
- def extract_members(self, members: typing.Optional[typing.List[str]] = None, dest_dir: str = '.'):
77
+ def extract_members(self, members: typing.Optional[typing.List[typing.Any]] = None, dest_dir: str = '.'):
65
78
  ...
66
- def list_members(self) -> typing.Optional[typing.List[str]]:
79
+ def list_names(self) -> typing.Optional[typing.List[str]]:
67
80
  ...
68
81
  def __enter__(self):
69
82
  ...
@@ -1,18 +1,18 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.6 #
4
- # Generated on 2025-07-24T19:01:36.976754 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.016103 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import abc
10
9
  import typing
11
10
  import importlib
11
+ import abc
12
12
  if typing.TYPE_CHECKING:
13
- import abc
14
13
  import os
15
14
  import importlib.metadata
15
+ import abc
16
16
 
17
17
 
18
18
  TYPE_CHECKING: bool
@@ -1,20 +1,20 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.6 #
4
- # Generated on 2025-07-24T19:01:36.978583 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.018285 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
+ import typing
9
10
  import metaflow
10
11
  import abc
11
- import typing
12
12
  if typing.TYPE_CHECKING:
13
- import typing
14
- import _io
15
- import metaflow.packaging_sys.backend
16
13
  import abc
17
14
  import tarfile
15
+ import _io
16
+ import typing
17
+ import metaflow.packaging_sys.backend
18
18
 
19
19
  from .backend import PackagingBackend as PackagingBackend
20
20
 
@@ -38,16 +38,25 @@ class TarPackagingBackend(metaflow.packaging_sys.backend.PackagingBackend, metac
38
38
  def cls_open(cls, content: typing.IO[bytes]) -> tarfile.TarFile:
39
39
  ...
40
40
  @classmethod
41
+ def cls_member_name(cls, member: typing.Union[tarfile.TarInfo, str]) -> str:
42
+ """
43
+ Returns the name of the member as a string.
44
+ """
45
+ ...
46
+ @classmethod
41
47
  def cls_has_member(cls, archive: tarfile.TarFile, name: str) -> bool:
42
48
  ...
43
49
  @classmethod
44
50
  def cls_get_member(cls, archive: tarfile.TarFile, name: str) -> typing.Optional[bytes]:
45
51
  ...
46
52
  @classmethod
47
- def cls_extract_members(cls, archive: tarfile.TarFile, members: typing.Optional[typing.List[str]] = None, dest_dir: str = '.'):
53
+ def cls_extract_members(cls, archive: tarfile.TarFile, members: typing.Optional[typing.List[typing.Any]] = None, dest_dir: str = '.'):
54
+ ...
55
+ @classmethod
56
+ def cls_list_members(cls, archive: tarfile.TarFile) -> typing.Optional[typing.List[tarfile.TarInfo]]:
48
57
  ...
49
58
  @classmethod
50
- def cls_list_members(cls, archive: tarfile.TarFile) -> typing.Optional[typing.List[str]]:
59
+ def cls_list_names(cls, archive: tarfile.TarFile) -> typing.Optional[typing.List[str]]:
51
60
  ...
52
61
  ...
53
62
 
@@ -1,7 +1,7 @@
1
1
  ######################################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.16.6 #
4
- # Generated on 2025-07-24T19:01:36.978976 #
3
+ # MF version: 2.16.8 #
4
+ # Generated on 2025-07-29T19:28:34.018672 #
5
5
  ######################################################################################################
6
6
 
7
7
  from __future__ import annotations