ob-metaflow-stubs 2.11.4.8__py2.py3-none-any.whl → 2.11.8.1__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 (133) hide show
  1. metaflow-stubs/__init__.pyi +456 -432
  2. metaflow-stubs/cards.pyi +5 -5
  3. metaflow-stubs/cli.pyi +3 -3
  4. metaflow-stubs/client/__init__.pyi +4 -4
  5. metaflow-stubs/client/core.pyi +7 -7
  6. metaflow-stubs/client/filecache.pyi +3 -3
  7. metaflow-stubs/clone_util.pyi +31 -0
  8. metaflow-stubs/events.pyi +3 -3
  9. metaflow-stubs/exception.pyi +2 -2
  10. metaflow-stubs/flowspec.pyi +5 -5
  11. metaflow-stubs/generated_for.txt +1 -1
  12. metaflow-stubs/includefile.pyi +4 -4
  13. metaflow-stubs/metadata/metadata.pyi +2 -2
  14. metaflow-stubs/metadata/util.pyi +2 -2
  15. metaflow-stubs/metaflow_config.pyi +6 -2
  16. metaflow-stubs/metaflow_current.pyi +18 -18
  17. metaflow-stubs/mflog/mflog.pyi +2 -2
  18. metaflow-stubs/multicore_utils.pyi +2 -2
  19. metaflow-stubs/parameters.pyi +4 -4
  20. metaflow-stubs/plugins/__init__.pyi +2 -2
  21. metaflow-stubs/plugins/airflow/__init__.pyi +2 -2
  22. metaflow-stubs/plugins/airflow/airflow.pyi +5 -3
  23. metaflow-stubs/plugins/airflow/airflow_cli.pyi +3 -3
  24. metaflow-stubs/plugins/airflow/airflow_decorator.pyi +2 -2
  25. metaflow-stubs/plugins/airflow/airflow_utils.pyi +2 -2
  26. metaflow-stubs/plugins/airflow/exception.pyi +2 -2
  27. metaflow-stubs/plugins/airflow/sensors/__init__.pyi +2 -2
  28. metaflow-stubs/plugins/airflow/sensors/base_sensor.pyi +3 -3
  29. metaflow-stubs/plugins/airflow/sensors/external_task_sensor.pyi +4 -4
  30. metaflow-stubs/plugins/airflow/sensors/s3_sensor.pyi +4 -4
  31. metaflow-stubs/plugins/argo/__init__.pyi +2 -2
  32. metaflow-stubs/plugins/argo/argo_client.pyi +2 -2
  33. metaflow-stubs/plugins/argo/argo_events.pyi +2 -2
  34. metaflow-stubs/plugins/argo/argo_workflows.pyi +6 -4
  35. metaflow-stubs/plugins/argo/argo_workflows_cli.pyi +4 -4
  36. metaflow-stubs/plugins/argo/argo_workflows_decorator.pyi +5 -5
  37. metaflow-stubs/plugins/aws/__init__.pyi +2 -2
  38. metaflow-stubs/plugins/aws/aws_client.pyi +2 -2
  39. metaflow-stubs/plugins/aws/aws_utils.pyi +2 -2
  40. metaflow-stubs/plugins/aws/batch/__init__.pyi +2 -2
  41. metaflow-stubs/plugins/aws/batch/batch.pyi +4 -4
  42. metaflow-stubs/plugins/aws/batch/batch_cli.pyi +4 -4
  43. metaflow-stubs/plugins/aws/batch/batch_client.pyi +3 -3
  44. metaflow-stubs/plugins/aws/batch/batch_decorator.pyi +4 -4
  45. metaflow-stubs/plugins/aws/secrets_manager/__init__.pyi +2 -2
  46. metaflow-stubs/plugins/aws/secrets_manager/aws_secrets_manager_secrets_provider.pyi +4 -4
  47. metaflow-stubs/plugins/aws/step_functions/__init__.pyi +2 -2
  48. metaflow-stubs/plugins/aws/step_functions/dynamo_db_client.pyi +2 -2
  49. metaflow-stubs/plugins/aws/step_functions/event_bridge_client.pyi +2 -2
  50. metaflow-stubs/plugins/aws/step_functions/production_token.pyi +2 -2
  51. metaflow-stubs/plugins/aws/step_functions/schedule_decorator.pyi +2 -2
  52. metaflow-stubs/plugins/aws/step_functions/step_functions.pyi +4 -4
  53. metaflow-stubs/plugins/aws/step_functions/step_functions_cli.pyi +4 -4
  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/azure/__init__.pyi +5 -2
  57. metaflow-stubs/plugins/azure/azure_credential.pyi +2 -2
  58. metaflow-stubs/plugins/azure/azure_exceptions.pyi +2 -2
  59. metaflow-stubs/plugins/azure/azure_utils.pyi +2 -2
  60. metaflow-stubs/plugins/azure/blob_service_client_factory.pyi +2 -2
  61. metaflow-stubs/plugins/azure/includefile_support.pyi +2 -2
  62. metaflow-stubs/plugins/cards/__init__.pyi +2 -2
  63. metaflow-stubs/plugins/cards/card_cli.pyi +5 -5
  64. metaflow-stubs/plugins/cards/card_client.pyi +3 -3
  65. metaflow-stubs/plugins/cards/card_creator.pyi +2 -2
  66. metaflow-stubs/plugins/cards/card_datastore.pyi +2 -2
  67. metaflow-stubs/plugins/cards/card_decorator.pyi +3 -3
  68. metaflow-stubs/plugins/cards/card_modules/__init__.pyi +2 -2
  69. metaflow-stubs/plugins/cards/card_modules/basic.pyi +3 -3
  70. metaflow-stubs/plugins/cards/card_modules/card.pyi +2 -2
  71. metaflow-stubs/plugins/cards/card_modules/chevron/__init__.pyi +2 -2
  72. metaflow-stubs/plugins/cards/card_modules/chevron/main.pyi +2 -2
  73. metaflow-stubs/plugins/cards/card_modules/chevron/metadata.pyi +2 -2
  74. metaflow-stubs/plugins/cards/card_modules/chevron/renderer.pyi +2 -2
  75. metaflow-stubs/plugins/cards/card_modules/chevron/tokenizer.pyi +2 -2
  76. metaflow-stubs/plugins/cards/card_modules/components.pyi +4 -4
  77. metaflow-stubs/plugins/cards/card_modules/convert_to_native_type.pyi +2 -2
  78. metaflow-stubs/plugins/cards/card_modules/renderer_tools.pyi +2 -2
  79. metaflow-stubs/plugins/cards/card_modules/test_cards.pyi +3 -3
  80. metaflow-stubs/plugins/cards/card_resolver.pyi +2 -2
  81. metaflow-stubs/plugins/cards/component_serializer.pyi +4 -4
  82. metaflow-stubs/plugins/cards/exception.pyi +2 -2
  83. metaflow-stubs/plugins/catch_decorator.pyi +3 -3
  84. metaflow-stubs/plugins/datatools/__init__.pyi +4 -4
  85. metaflow-stubs/plugins/datatools/local.pyi +2 -2
  86. metaflow-stubs/plugins/datatools/s3/__init__.pyi +4 -4
  87. metaflow-stubs/plugins/datatools/s3/s3.pyi +5 -5
  88. metaflow-stubs/plugins/datatools/s3/s3tail.pyi +2 -2
  89. metaflow-stubs/plugins/datatools/s3/s3util.pyi +2 -2
  90. metaflow-stubs/plugins/debug_logger.pyi +2 -2
  91. metaflow-stubs/plugins/debug_monitor.pyi +2 -2
  92. metaflow-stubs/plugins/environment_decorator.pyi +2 -2
  93. metaflow-stubs/plugins/events_decorator.pyi +3 -3
  94. metaflow-stubs/plugins/frameworks/__init__.pyi +2 -2
  95. metaflow-stubs/plugins/frameworks/pytorch.pyi +4 -4
  96. metaflow-stubs/plugins/gcp/__init__.pyi +5 -2
  97. metaflow-stubs/plugins/gcp/gcp_secret_manager_secrets_provider.pyi +73 -0
  98. metaflow-stubs/plugins/gcp/gs_exceptions.pyi +2 -2
  99. metaflow-stubs/plugins/gcp/gs_storage_client_factory.pyi +2 -2
  100. metaflow-stubs/plugins/gcp/gs_utils.pyi +2 -2
  101. metaflow-stubs/plugins/gcp/includefile_support.pyi +2 -2
  102. metaflow-stubs/plugins/kubernetes/__init__.pyi +2 -2
  103. metaflow-stubs/plugins/kubernetes/kubernetes.pyi +7 -3
  104. metaflow-stubs/plugins/kubernetes/kubernetes_cli.pyi +3 -3
  105. metaflow-stubs/plugins/kubernetes/kubernetes_client.pyi +2 -2
  106. metaflow-stubs/plugins/kubernetes/kubernetes_decorator.pyi +4 -4
  107. metaflow-stubs/plugins/kubernetes/kubernetes_job.pyi +2 -2
  108. metaflow-stubs/plugins/package_cli.pyi +2 -2
  109. metaflow-stubs/plugins/parallel_decorator.pyi +2 -2
  110. metaflow-stubs/plugins/project_decorator.pyi +3 -3
  111. metaflow-stubs/plugins/pypi/__init__.pyi +2 -2
  112. metaflow-stubs/plugins/pypi/conda_decorator.pyi +2 -2
  113. metaflow-stubs/plugins/pypi/conda_environment.pyi +3 -3
  114. metaflow-stubs/plugins/pypi/pypi_decorator.pyi +2 -2
  115. metaflow-stubs/plugins/pypi/pypi_environment.pyi +3 -3
  116. metaflow-stubs/plugins/pypi/utils.pyi +2 -2
  117. metaflow-stubs/plugins/resources_decorator.pyi +2 -2
  118. metaflow-stubs/plugins/retry_decorator.pyi +2 -2
  119. metaflow-stubs/plugins/secrets/__init__.pyi +2 -2
  120. metaflow-stubs/plugins/secrets/inline_secrets_provider.pyi +3 -3
  121. metaflow-stubs/plugins/secrets/secrets_decorator.pyi +2 -2
  122. metaflow-stubs/plugins/storage_executor.pyi +2 -2
  123. metaflow-stubs/plugins/tag_cli.pyi +5 -5
  124. metaflow-stubs/plugins/test_unbounded_foreach_decorator.pyi +3 -3
  125. metaflow-stubs/plugins/timeout_decorator.pyi +3 -3
  126. metaflow-stubs/procpoll.pyi +2 -2
  127. metaflow-stubs/pylint_wrapper.pyi +2 -2
  128. metaflow-stubs/tagging_util.pyi +2 -2
  129. {ob_metaflow_stubs-2.11.4.8.dist-info → ob_metaflow_stubs-2.11.8.1.dist-info}/METADATA +2 -2
  130. ob_metaflow_stubs-2.11.8.1.dist-info/RECORD +133 -0
  131. {ob_metaflow_stubs-2.11.4.8.dist-info → ob_metaflow_stubs-2.11.8.1.dist-info}/WHEEL +1 -1
  132. ob_metaflow_stubs-2.11.4.8.dist-info/RECORD +0 -131
  133. {ob_metaflow_stubs-2.11.4.8.dist-info → ob_metaflow_stubs-2.11.8.1.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.964526 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.451877 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.964392 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.451758 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.963778 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.451293 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,17 +1,17 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.884998 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.393496 #
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.plugins.cards.card_modules.card
11
+ import metaflow.plugins.cards.card_modules.basic
12
12
  import typing
13
+ import metaflow.plugins.cards.card_modules.card
13
14
  import metaflow.plugins.cards.card_modules.components
14
- import metaflow.plugins.cards.card_modules.basic
15
15
 
16
16
  class LogComponent(metaflow.plugins.cards.card_modules.basic.DefaultComponent, metaclass=type):
17
17
  def __init__(self, data = None):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.941254 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.436022 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.941550 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.436248 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.873264 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.383907 #
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.plugins.cards.card_modules.card
12
+ import metaflow
13
13
 
14
14
  class MetaflowCard(object, metaclass=type):
15
15
  def __init__(self, options = {}, components = [], graph = None):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.933385 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.423262 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.929462 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.420468 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -9,9 +9,9 @@ from __future__ import annotations
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
11
  import metaflow.plugins.cards.card_modules.basic
12
- import metaflow.plugins.cards.card_modules.components
13
- import metaflow.plugins.cards.card_modules.card
14
12
  import metaflow.exception
13
+ import metaflow.plugins.cards.card_modules.card
14
+ import metaflow.plugins.cards.card_modules.components
15
15
 
16
16
  class MetaflowCardComponent(object, metaclass=type):
17
17
  @property
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.926914 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.418620 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.864439 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.377667 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
+ import metaflow.metaflow_current
11
12
  import metaflow.exception
12
13
  import metaflow.decorators
13
- import metaflow.metaflow_current
14
14
 
15
15
  class MetaflowException(Exception, metaclass=type):
16
16
  def __init__(self, msg = "", lineno = None):
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.861791 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.376155 #
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.plugins.datatools.s3.s3
12
- import io
13
11
  import metaflow.exception
12
+ import io
13
+ import metaflow.plugins.datatools.s3.s3
14
14
 
15
15
  def read_in_chunks(dst, src, src_sz, max_chunk_size):
16
16
  ...
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.877331 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.387343 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.894747 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.417288 #
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.plugins.datatools.s3.s3
12
- import io
13
11
  import metaflow.exception
12
+ import io
13
+ import metaflow.plugins.datatools.s3.s3
14
14
 
15
15
  class RangeInfo(tuple, metaclass=type):
16
16
  @staticmethod
@@ -1,19 +1,19 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.838520 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.358294 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
  import typing
10
10
  if typing.TYPE_CHECKING:
11
- import io
12
- import metaflow.datastore.inputs
13
- import metaflow.plugins.datatools.s3.s3
14
11
  import metaflow.metaflow_current
15
12
  import typing
13
+ import io
16
14
  import metaflow.exception
15
+ import metaflow.plugins.datatools.s3.s3
16
+ import metaflow.datastore.inputs
17
17
 
18
18
  TYPE_CHECKING: bool
19
19
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.959928 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.448876 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.876388 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.386501 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.867042 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.379632 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.867421 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.379912 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.859690 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.372898 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.865845 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.378206 #
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.decorators
12
11
  import metaflow.metaflow_current
12
+ import metaflow.decorators
13
13
 
14
14
  current: metaflow.metaflow_current.Current
15
15
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.864578 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.374003 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.925124 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.411724 #
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.plugins.parallel_decorator
12
- import metaflow.decorators
13
11
  import metaflow.metaflow_current
12
+ import metaflow.decorators
13
+ import metaflow.plugins.parallel_decorator
14
14
 
15
15
  current: metaflow.metaflow_current.Current
16
16
 
@@ -1,9 +1,12 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.866677 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.378797 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
9
 
10
+ def get_credentials(scopes, *args, **kwargs):
11
+ ...
12
+
@@ -0,0 +1,73 @@
1
+ ##################################################################################
2
+ # Auto-generated Metaflow stub file #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.434134 #
5
+ ##################################################################################
6
+
7
+ from __future__ import annotations
8
+
9
+ import typing
10
+ if typing.TYPE_CHECKING:
11
+ import metaflow.exception
12
+ import abc
13
+ import metaflow.plugins.secrets
14
+
15
+ class MetaflowException(Exception, metaclass=type):
16
+ def __init__(self, msg = "", lineno = None):
17
+ ...
18
+ def __str__(self):
19
+ ...
20
+ ...
21
+
22
+ class SecretsProvider(abc.ABC, metaclass=abc.ABCMeta):
23
+ def get_secret_as_dict(self, secret_id, options = {}, role = None) -> typing.Dict[str, str]:
24
+ """
25
+ Retrieve the secret from secrets backend, and return a dictionary of
26
+ environment variables.
27
+ """
28
+ ...
29
+ ...
30
+
31
+ def get_credentials(scopes, *args, **kwargs):
32
+ ...
33
+
34
+ GCP_SECRET_MANAGER_PREFIX: None
35
+
36
+ class MetaflowGcpSecretsManagerBadResponse(metaflow.exception.MetaflowException, metaclass=type):
37
+ ...
38
+
39
+ class MetaflowGcpSecretsManagerDuplicateKey(metaflow.exception.MetaflowException, metaclass=type):
40
+ ...
41
+
42
+ class MetaflowGcpSecretsManagerJSONParseError(metaflow.exception.MetaflowException, metaclass=type):
43
+ ...
44
+
45
+ class MetaflowGcpSecretsManagerNotJSONObject(metaflow.exception.MetaflowException, metaclass=type):
46
+ ...
47
+
48
+ class GcpSecretManagerSecretsProvider(metaflow.plugins.secrets.SecretsProvider, metaclass=abc.ABCMeta):
49
+ def get_secret_as_dict(self, secret_id, options = {}, role = None):
50
+ """
51
+ Reads a secret from GCP Secrets Manager and returns it as a dictionary of environment variables.
52
+
53
+ If the secret contains a string payload ("SecretString"):
54
+ - if the `json` option is True:
55
+ Secret will be parsed as a JSON. If successfully parsed, AND the JSON contains a
56
+ top-level object, each entry K/V in the object will also be converted to an entry in the result. V will
57
+ always be casted to a string (if not already a string).
58
+ - If `json` option is False (default):
59
+ Will be returned as a single entry in the result, with the key being the last part after / in secret_id.
60
+
61
+ On GCP Secrets Manager, the secret payload is a binary blob. However, by default we interpret it as UTF8 encoded
62
+ string. To disable this, set the `binary` option to True, the binary will be base64 encoded in the result.
63
+
64
+ All keys in the result are sanitized to be more valid environment variable names. This is done on a best effort
65
+ basis. Further validation is expected to be done by the invoking @secrets decorator itself.
66
+
67
+ :param secret_id: GCP Secrets Manager secret ID
68
+ :param options: unused
69
+ :return: dict of environment variables. All keys and values are strings.
70
+ """
71
+ ...
72
+ ...
73
+
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.940109 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.433246 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.939826 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.433021 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.940594 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.433603 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.878877 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.388968 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.861976 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.373151 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,15 +1,15 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.898749 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.407892 #
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.exception
12
11
  import metaflow.metaflow_current
12
+ import metaflow.exception
13
13
 
14
14
  current: metaflow.metaflow_current.Current
15
15
 
@@ -52,10 +52,14 @@ DATATOOLS_S3ROOT: None
52
52
 
53
53
  DEFAULT_AWS_CLIENT_PROVIDER: str
54
54
 
55
+ DEFAULT_GCP_CLIENT_PROVIDER: str
56
+
55
57
  DEFAULT_METADATA: str
56
58
 
57
59
  DEFAULT_SECRETS_BACKEND_TYPE: None
58
60
 
61
+ GCP_SECRET_MANAGER_PREFIX: None
62
+
59
63
  KUBERNETES_FETCH_EC2_METADATA: bool
60
64
 
61
65
  KUBERNETES_LABELS: str
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.901796 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.410062 #
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.exception
11
12
  import metaflow._vendor.click.types
12
13
  import metaflow.decorators
13
- import metaflow.exception
14
14
 
15
15
  class JSONTypeClass(metaflow._vendor.click.types.ParamType, metaclass=type):
16
16
  def convert(self, value, param, ctx):
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.896933 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.406749 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations
@@ -1,16 +1,16 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.900389 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.409078 #
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.exception
12
- import metaflow.decorators
13
11
  import metaflow.metaflow_current
12
+ import metaflow.decorators
13
+ import metaflow.exception
14
14
 
15
15
  current: metaflow.metaflow_current.Current
16
16
 
@@ -1,7 +1,7 @@
1
1
  ##################################################################################
2
2
  # Auto-generated Metaflow stub file #
3
- # MF version: 2.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.896044 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.406136 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.875715 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.385909 #
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.11.4.8 #
4
- # Generated on 2024-03-02T01:35:34.862688 #
3
+ # MF version: 2.11.8.1 #
4
+ # Generated on 2024-03-29T12:39:58.374414 #
5
5
  ##################################################################################
6
6
 
7
7
  from __future__ import annotations