metaflow-stubs 2.12.28__py2.py3-none-any.whl → 2.12.29__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 (159) hide show
  1. metaflow-stubs/__init__.pyi +297 -3001
  2. metaflow-stubs/cards.pyi +19 -473
  3. metaflow-stubs/cli.pyi +17 -81
  4. metaflow-stubs/client/__init__.pyi +19 -1113
  5. metaflow-stubs/client/core.pyi +18 -158
  6. metaflow-stubs/client/filecache.pyi +8 -12
  7. metaflow-stubs/clone_util.pyi +6 -26
  8. metaflow-stubs/events.pyi +6 -5
  9. metaflow-stubs/exception.pyi +8 -6
  10. metaflow-stubs/flowspec.pyi +22 -106
  11. metaflow-stubs/generated_for.txt +1 -1
  12. metaflow-stubs/includefile.pyi +16 -564
  13. metaflow-stubs/info_file.pyi +6 -5
  14. metaflow-stubs/metadata_provider/__init__.pyi +16 -0
  15. metaflow-stubs/metadata_provider/heartbeat.pyi +34 -0
  16. metaflow-stubs/{metadata → metadata_provider}/metadata.pyi +10 -22
  17. metaflow-stubs/metadata_provider/util.pyi +19 -0
  18. metaflow-stubs/metaflow_config.pyi +8 -11
  19. metaflow-stubs/metaflow_current.pyi +10 -9
  20. metaflow-stubs/mflog/__init__.pyi +6 -0
  21. metaflow-stubs/mflog/mflog.pyi +52 -5
  22. metaflow-stubs/multicore_utils.pyi +6 -5
  23. metaflow-stubs/parameters.pyi +13 -23
  24. metaflow-stubs/plugins/__init__.pyi +51 -163
  25. metaflow-stubs/plugins/airflow/__init__.pyi +12 -5
  26. metaflow-stubs/plugins/airflow/airflow.pyi +19 -130
  27. metaflow-stubs/plugins/airflow/airflow_cli.pyi +17 -136
  28. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +7 -26
  29. metaflow-stubs/plugins/airflow/airflow_utils.pyi +7 -6
  30. metaflow-stubs/plugins/airflow/exception.pyi +7 -11
  31. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +10 -97
  32. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +9 -30
  33. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +9 -40
  34. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +9 -40
  35. metaflow-stubs/plugins/argo/__init__.pyi +12 -5
  36. metaflow-stubs/plugins/argo/argo_client.pyi +8 -26
  37. metaflow-stubs/plugins/argo/argo_events.pyi +7 -11
  38. metaflow-stubs/plugins/argo/argo_workflows.pyi +16 -120
  39. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +22 -460
  40. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +12 -404
  41. metaflow-stubs/plugins/argo/argo_workflows_deployer.pyi +65 -322
  42. metaflow-stubs/plugins/argo/argo_workflows_deployer_objects.pyi +165 -0
  43. metaflow-stubs/plugins/aws/__init__.pyi +11 -5
  44. metaflow-stubs/plugins/aws/aws_client.pyi +6 -5
  45. metaflow-stubs/plugins/aws/aws_utils.pyi +6 -11
  46. metaflow-stubs/plugins/aws/batch/__init__.pyi +10 -5
  47. metaflow-stubs/plugins/aws/batch/batch.pyi +10 -55
  48. metaflow-stubs/plugins/aws/batch/batch_cli.pyi +10 -31
  49. metaflow-stubs/plugins/aws/batch/batch_client.pyi +7 -11
  50. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +15 -140
  51. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +7 -5
  52. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +10 -21
  53. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +15 -5
  54. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +6 -5
  55. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +6 -5
  56. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +6 -5
  57. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +7 -5
  58. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +11 -65
  59. metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +19 -175
  60. metaflow-stubs/plugins/aws/step_functions/step_functions_client.pyi +6 -5
  61. metaflow-stubs/plugins/aws/step_functions/step_functions_decorator.pyi +8 -37
  62. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer.pyi +53 -290
  63. metaflow-stubs/plugins/aws/step_functions/step_functions_deployer_objects.pyi +127 -0
  64. metaflow-stubs/plugins/azure/__init__.pyi +12 -7
  65. metaflow-stubs/plugins/azure/azure_credential.pyi +6 -5
  66. metaflow-stubs/plugins/azure/azure_exceptions.pyi +7 -11
  67. metaflow-stubs/plugins/azure/azure_secret_manager_secrets_provider.pyi +11 -24
  68. metaflow-stubs/plugins/azure/azure_utils.pyi +11 -29
  69. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +8 -23
  70. metaflow-stubs/plugins/azure/includefile_support.pyi +7 -17
  71. metaflow-stubs/plugins/cards/__init__.pyi +15 -5
  72. metaflow-stubs/plugins/cards/card_cli.pyi +22 -491
  73. metaflow-stubs/plugins/cards/card_client.pyi +13 -75
  74. metaflow-stubs/plugins/cards/card_creator.pyi +7 -10
  75. metaflow-stubs/plugins/cards/card_datastore.pyi +10 -18
  76. metaflow-stubs/plugins/cards/card_decorator.pyi +10 -126
  77. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +14 -81
  78. metaflow-stubs/plugins/cards/card_modules/basic.pyi +14 -97
  79. metaflow-stubs/plugins/cards/card_modules/card.pyi +6 -5
  80. metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +12 -73
  81. metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +6 -61
  82. metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +6 -5
  83. metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +8 -45
  84. metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +7 -6
  85. metaflow-stubs/plugins/cards/card_modules/components.pyi +25 -108
  86. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +6 -5
  87. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +6 -12
  88. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +11 -88
  89. metaflow-stubs/plugins/cards/card_resolver.pyi +6 -49
  90. metaflow-stubs/plugins/cards/component_serializer.pyi +13 -63
  91. metaflow-stubs/plugins/cards/exception.pyi +7 -11
  92. metaflow-stubs/plugins/catch_decorator.pyi +10 -30
  93. metaflow-stubs/plugins/datatools/__init__.pyi +13 -392
  94. metaflow-stubs/plugins/datatools/local.pyi +7 -11
  95. metaflow-stubs/plugins/datatools/s3/__init__.pyi +19 -653
  96. metaflow-stubs/plugins/datatools/s3/s3.pyi +16 -264
  97. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +7 -10
  98. metaflow-stubs/plugins/datatools/s3/s3util.pyi +6 -11
  99. metaflow-stubs/plugins/debug_logger.pyi +7 -5
  100. metaflow-stubs/plugins/debug_monitor.pyi +7 -5
  101. metaflow-stubs/plugins/environment_decorator.pyi +7 -5
  102. metaflow-stubs/plugins/events_decorator.pyi +8 -14
  103. metaflow-stubs/plugins/frameworks/__init__.pyi +7 -5
  104. metaflow-stubs/plugins/frameworks/pytorch.pyi +8 -45
  105. metaflow-stubs/plugins/gcp/__init__.pyi +11 -7
  106. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +11 -24
  107. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +7 -11
  108. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +6 -5
  109. metaflow-stubs/plugins/gcp/gs_utils.pyi +8 -20
  110. metaflow-stubs/plugins/gcp/includefile_support.pyi +7 -17
  111. metaflow-stubs/plugins/kubernetes/__init__.pyi +13 -5
  112. metaflow-stubs/plugins/kubernetes/kube_utils.pyi +6 -10
  113. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +9 -29
  114. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +16 -155
  115. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +9 -72
  116. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +19 -142
  117. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +8 -41
  118. metaflow-stubs/plugins/kubernetes/kubernetes_jobsets.pyi +7 -11
  119. metaflow-stubs/plugins/logs_cli.pyi +11 -10
  120. metaflow-stubs/plugins/package_cli.pyi +7 -5
  121. metaflow-stubs/plugins/parallel_decorator.pyi +11 -59
  122. metaflow-stubs/plugins/project_decorator.pyi +8 -14
  123. metaflow-stubs/plugins/pypi/__init__.pyi +12 -11
  124. metaflow-stubs/plugins/pypi/conda_decorator.pyi +8 -27
  125. metaflow-stubs/plugins/pypi/conda_environment.pyi +14 -20
  126. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +7 -5
  127. metaflow-stubs/plugins/pypi/pypi_environment.pyi +7 -39
  128. metaflow-stubs/plugins/pypi/utils.pyi +7 -11
  129. metaflow-stubs/plugins/resources_decorator.pyi +7 -5
  130. metaflow-stubs/plugins/retry_decorator.pyi +7 -11
  131. metaflow-stubs/plugins/secrets/__init__.pyi +9 -5
  132. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +9 -14
  133. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +7 -11
  134. metaflow-stubs/plugins/storage_executor.pyi +6 -11
  135. metaflow-stubs/plugins/tag_cli.pyi +14 -396
  136. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +9 -34
  137. metaflow-stubs/plugins/timeout_decorator.pyi +8 -12
  138. metaflow-stubs/procpoll.pyi +7 -5
  139. metaflow-stubs/pylint_wrapper.pyi +7 -11
  140. metaflow-stubs/runner/__init__.pyi +13 -5
  141. metaflow-stubs/runner/deployer.pyi +102 -210
  142. metaflow-stubs/runner/deployer_impl.pyi +87 -0
  143. metaflow-stubs/runner/metaflow_runner.pyi +24 -508
  144. metaflow-stubs/runner/nbdeploy.pyi +16 -60
  145. metaflow-stubs/runner/nbrun.pyi +11 -148
  146. metaflow-stubs/runner/subprocess_manager.pyi +9 -10
  147. metaflow-stubs/runner/utils.pyi +44 -9
  148. metaflow-stubs/system/__init__.pyi +9 -87
  149. metaflow-stubs/system/system_logger.pyi +7 -6
  150. metaflow-stubs/system/system_monitor.pyi +6 -5
  151. metaflow-stubs/tagging_util.pyi +6 -10
  152. metaflow-stubs/tuple_util.pyi +6 -5
  153. metaflow-stubs/version.pyi +6 -5
  154. {metaflow_stubs-2.12.28.dist-info → metaflow_stubs-2.12.29.dist-info}/METADATA +2 -2
  155. metaflow_stubs-2.12.29.dist-info/RECORD +158 -0
  156. metaflow-stubs/metadata/util.pyi +0 -18
  157. metaflow_stubs-2.12.28.dist-info/RECORD +0 -152
  158. {metaflow_stubs-2.12.28.dist-info → metaflow_stubs-2.12.29.dist-info}/WHEEL +0 -0
  159. {metaflow_stubs-2.12.28.dist-info → metaflow_stubs-2.12.29.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,127 @@
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.645856 #
5
+ ######################################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+ import typing
10
+ import metaflow
11
+ if typing.TYPE_CHECKING:
12
+ import metaflow.runner.deployer
13
+ import metaflow.plugins.aws.step_functions.step_functions_deployer_objects
14
+
15
+ from .step_functions import StepFunctions as StepFunctions
16
+ from ....runner.deployer import DeployedFlow as DeployedFlow
17
+ from ....runner.deployer import TriggeredRun as TriggeredRun
18
+ from ....runner.utils import get_lower_level_group as get_lower_level_group
19
+ from ....runner.utils import handle_timeout as handle_timeout
20
+
21
+ class StepFunctionsTriggeredRun(metaflow.runner.deployer.TriggeredRun, metaclass=type):
22
+ """
23
+ A class representing a triggered AWS Step Functions state machine execution.
24
+ """
25
+ def terminate(self, **kwargs) -> bool:
26
+ """
27
+ Terminate the running state machine execution.
28
+
29
+ Parameters
30
+ ----------
31
+ authorize : str, optional, default None
32
+ Authorize the termination with a production token.
33
+
34
+ Returns
35
+ -------
36
+ bool
37
+ True if the command was successful, False otherwise.
38
+ """
39
+ ...
40
+ ...
41
+
42
+ class StepFunctionsDeployedFlow(metaflow.runner.deployer.DeployedFlow, metaclass=metaflow.runner.deployer.DeployedFlowMeta):
43
+ """
44
+ A class representing a deployed AWS Step Functions state machine.
45
+ """
46
+ @classmethod
47
+ def from_deployment(cls, identifier: str, metadata: typing.Optional[str] = None):
48
+ """
49
+ This method is not currently implemented for Step Functions.
50
+
51
+ Raises
52
+ ------
53
+ NotImplementedError
54
+ This method is not implemented for Step Functions.
55
+ """
56
+ ...
57
+ @property
58
+ def production_token(self: metaflow.runner.deployer.DeployedFlow) -> typing.Optional[str]:
59
+ """
60
+ Get the production token for the deployed flow.
61
+
62
+ Returns
63
+ -------
64
+ str, optional
65
+ The production token, None if it cannot be retrieved.
66
+ """
67
+ ...
68
+ def list_runs(self, states: typing.Optional[typing.List[str]] = None) -> typing.List[StepFunctionsTriggeredRun]:
69
+ """
70
+ List runs of the deployed flow.
71
+
72
+ Parameters
73
+ ----------
74
+ states : List[str], optional, default None
75
+ A list of states to filter the runs by. Allowed values are:
76
+ RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED.
77
+ If not provided, all states will be considered.
78
+
79
+ Returns
80
+ -------
81
+ List[StepFunctionsTriggeredRun]
82
+ A list of TriggeredRun objects representing the runs of the deployed flow.
83
+
84
+ Raises
85
+ ------
86
+ ValueError
87
+ If any of the provided states are invalid or if there are duplicate states.
88
+ """
89
+ ...
90
+ def delete(self, **kwargs) -> bool:
91
+ """
92
+ Delete the deployed state machine.
93
+
94
+ Parameters
95
+ ----------
96
+ authorize : str, optional, default None
97
+ Authorize the deletion with a production token.
98
+
99
+ Returns
100
+ -------
101
+ bool
102
+ True if the command was successful, False otherwise.
103
+ """
104
+ ...
105
+ def trigger(self, **kwargs) -> StepFunctionsTriggeredRun:
106
+ """
107
+ Trigger a new run for the deployed flow.
108
+
109
+ Parameters
110
+ ----------
111
+ **kwargs : Any
112
+ Additional arguments to pass to the trigger command,
113
+ `Parameters` in particular
114
+
115
+ Returns
116
+ -------
117
+ StepFunctionsTriggeredRun
118
+ The triggered run instance.
119
+
120
+ Raises
121
+ ------
122
+ Exception
123
+ If there is an error during the trigger process.
124
+ """
125
+ ...
126
+ ...
127
+
@@ -1,12 +1,17 @@
1
- ##################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.28 #
4
- # Generated on 2024-11-01T10:21:04.484043 #
5
- ##################################################################################
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.589772 #
5
+ ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
 
10
- def create_azure_credential():
11
- ...
10
+ from . import azure_credential as azure_credential
11
+ from .azure_credential import create_cacheable_azure_credential as create_azure_credential
12
+ from . import azure_exceptions as azure_exceptions
13
+ from . import azure_utils as azure_utils
14
+ from . import blob_service_client_factory as blob_service_client_factory
15
+ from . import includefile_support as includefile_support
16
+ from . import azure_secret_manager_secrets_provider as azure_secret_manager_secrets_provider
12
17
 
@@ -1,12 +1,13 @@
1
- ##################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.28 #
4
- # Generated on 2024-11-01T10:21:04.542418 #
5
- ##################################################################################
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.630980 #
5
+ ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
 
10
+
10
11
  class AzureDefaultClientProvider(object, metaclass=type):
11
12
  @staticmethod
12
13
  def create_cacheable_azure_credential(*args, **kwargs):
@@ -1,21 +1,17 @@
1
- ##################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.28 #
4
- # Generated on 2024-11-01T10:21:04.542673 #
5
- ##################################################################################
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.631160 #
5
+ ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
+ import metaflow
9
10
  import typing
10
11
  if typing.TYPE_CHECKING:
11
12
  import metaflow.exception
12
13
 
13
- class MetaflowException(Exception, metaclass=type):
14
- def __init__(self, msg = "", lineno = None):
15
- ...
16
- def __str__(self):
17
- ...
18
- ...
14
+ from ...exception import MetaflowException as MetaflowException
19
15
 
20
16
  class MetaflowAzureAuthenticationError(metaflow.exception.MetaflowException, metaclass=type):
21
17
  ...
@@ -1,38 +1,25 @@
1
- ##################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.28 #
4
- # Generated on 2024-11-01T10:21:04.544077 #
5
- ##################################################################################
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.632773 #
5
+ ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
+ import abc
10
+ import metaflow
9
11
  import typing
10
12
  if typing.TYPE_CHECKING:
11
- import metaflow.plugins.secrets
12
13
  import abc
13
14
  import metaflow.exception
15
+ import metaflow.plugins.secrets
14
16
 
15
- class SecretsProvider(abc.ABC, metaclass=abc.ABCMeta):
16
- def get_secret_as_dict(self, secret_id, options = {}, role = None) -> typing.Dict[str, str]:
17
- """
18
- Retrieve the secret from secrets backend, and return a dictionary of
19
- environment variables.
20
- """
21
- ...
22
- ...
23
-
24
- class MetaflowException(Exception, metaclass=type):
25
- def __init__(self, msg = "", lineno = None):
26
- ...
27
- def __str__(self):
28
- ...
29
- ...
17
+ from ..secrets import SecretsProvider as SecretsProvider
18
+ from ...exception import MetaflowException as MetaflowException
19
+ from .azure_credential import create_cacheable_azure_credential as create_cacheable_azure_credential
30
20
 
31
21
  AZURE_KEY_VAULT_PREFIX: None
32
22
 
33
- def create_cacheable_azure_credential():
34
- ...
35
-
36
23
  class MetaflowAzureKeyVaultBadVault(metaflow.exception.MetaflowException, metaclass=type):
37
24
  """
38
25
  Raised when the secretid is fully qualified but does not have the right key vault domain
@@ -1,36 +1,18 @@
1
- ##################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.28 #
4
- # Generated on 2024-11-01T10:21:04.543152 #
5
- ##################################################################################
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.631563 #
5
+ ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
- if typing.TYPE_CHECKING:
11
- import metaflow.exception
12
9
 
13
- class MetaflowAzureAuthenticationError(metaflow.exception.MetaflowException, metaclass=type):
14
- ...
15
-
16
- class MetaflowAzureResourceError(metaflow.exception.MetaflowException, metaclass=type):
17
- ...
18
-
19
- class MetaflowAzurePackageError(metaflow.exception.MetaflowException, metaclass=type):
20
- ...
21
-
22
- class MetaflowInternalError(metaflow.exception.MetaflowException, metaclass=type):
23
- ...
24
-
25
- class MetaflowException(Exception, metaclass=type):
26
- def __init__(self, msg = "", lineno = None):
27
- ...
28
- def __str__(self):
29
- ...
30
- ...
31
-
32
- def create_cacheable_azure_credential():
33
- ...
10
+ from .azure_exceptions import MetaflowAzureAuthenticationError as MetaflowAzureAuthenticationError
11
+ from .azure_exceptions import MetaflowAzureResourceError as MetaflowAzureResourceError
12
+ from .azure_exceptions import MetaflowAzurePackageError as MetaflowAzurePackageError
13
+ from ...exception import MetaflowInternalError as MetaflowInternalError
14
+ from ...exception import MetaflowException as MetaflowException
15
+ from .azure_credential import create_cacheable_azure_credential as create_cacheable_azure_credential
34
16
 
35
17
  def check_azure_deps(func):
36
18
  """
@@ -1,33 +1,18 @@
1
- ##################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.28 #
4
- # Generated on 2024-11-01T10:21:04.543546 #
5
- ##################################################################################
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.631890 #
5
+ ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
 
10
- class MetaflowException(Exception, metaclass=type):
11
- def __init__(self, msg = "", lineno = None):
12
- ...
13
- def __str__(self):
14
- ...
15
- ...
10
+ from ...exception import MetaflowException as MetaflowException
11
+ from .azure_utils import check_azure_deps as check_azure_deps
12
+ from .azure_credential import create_cacheable_azure_credential as create_cacheable_azure_credential
16
13
 
17
14
  AZURE_STORAGE_BLOB_SERVICE_ENDPOINT: None
18
15
 
19
- def check_azure_deps(func):
20
- """
21
- The decorated function checks Azure dependencies (as needed for Azure storage backend). This includes
22
- various Azure SDK packages, as well as a Python version of >3.6
23
-
24
- We also tune some warning and logging configurations to reduce excessive log lines from Azure SDK.
25
- """
26
- ...
27
-
28
- def create_cacheable_azure_credential():
29
- ...
30
-
31
16
  AZURE_CLIENT_CONNECTION_DATA_BLOCK_SIZE: int
32
17
 
33
18
  AZURE_CLIENT_MAX_SINGLE_GET_SIZE_MB: int
@@ -1,24 +1,14 @@
1
- ##################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.28 #
4
- # Generated on 2024-11-01T10:21:04.476293 #
5
- ##################################################################################
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.632415 #
5
+ ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import typing
10
- if typing.TYPE_CHECKING:
11
- import metaflow.exception
12
9
 
13
- class MetaflowException(Exception, metaclass=type):
14
- def __init__(self, msg = "", lineno = None):
15
- ...
16
- def __str__(self):
17
- ...
18
- ...
19
-
20
- class MetaflowInternalError(metaflow.exception.MetaflowException, metaclass=type):
21
- ...
10
+ from ...exception import MetaflowException as MetaflowException
11
+ from ...exception import MetaflowInternalError as MetaflowInternalError
22
12
 
23
13
  class Azure(object, metaclass=type):
24
14
  @classmethod
@@ -1,9 +1,19 @@
1
- ##################################################################################
2
- # Auto-generated Metaflow stub file #
3
- # MF version: 2.12.28 #
4
- # Generated on 2024-11-01T10:21:04.482539 #
5
- ##################################################################################
1
+ ######################################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.12.29 #
4
+ # Generated on 2024-11-07T22:19:34.586684 #
5
+ ######################################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
 
10
+ from . import card_modules as card_modules
11
+ from . import exception as exception
12
+ from . import component_serializer as component_serializer
13
+ from . import card_creator as card_creator
14
+ from . import card_decorator as card_decorator
15
+ from . import card_datastore as card_datastore
16
+ from . import card_resolver as card_resolver
17
+ from . import card_client as card_client
18
+ from . import card_cli as card_cli
19
+