pulumi-external 0.1.0a1728365336__tar.gz → 0.1.0a1728590441__tar.gz

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 pulumi-external might be problematic. Click here for more details.

Files changed (16) hide show
  1. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/PKG-INFO +3 -2
  2. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external/_utilities.py +1 -1
  3. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external/get_external.py +17 -4
  4. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external/provider.py +5 -0
  5. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external/pulumi-plugin.json +1 -1
  6. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external.egg-info/PKG-INFO +3 -2
  7. pulumi_external-0.1.0a1728590441/pulumi_external.egg-info/requires.txt +6 -0
  8. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pyproject.toml +2 -2
  9. pulumi_external-0.1.0a1728365336/pulumi_external.egg-info/requires.txt +0 -3
  10. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/README.md +0 -0
  11. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external/__init__.py +0 -0
  12. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external/py.typed +0 -0
  13. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external.egg-info/SOURCES.txt +0 -0
  14. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external.egg-info/dependency_links.txt +0 -0
  15. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/pulumi_external.egg-info/top_level.txt +0 -0
  16. {pulumi_external-0.1.0a1728365336 → pulumi_external-0.1.0a1728590441}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_external
3
- Version: 0.1.0a1728365336
3
+ Version: 0.1.0a1728590441
4
4
  Summary: A Pulumi package for creating and managing External cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com/
@@ -9,8 +9,9 @@ Keywords: pulumi,category/cloud
9
9
  Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: parver>=0.2.1
12
- Requires-Dist: pulumi<4.0.0,>=3.0.0
12
+ Requires-Dist: pulumi<4.0.0,>=3.136.0
13
13
  Requires-Dist: semver>=2.8.1
14
+ Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
14
15
 
15
16
  [![Actions Status](https://github.com/pulumi/pulumi-external/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-external/actions)
16
17
  [![NPM version](https://img.shields.io/npm/v/@pulumi/external)](https://www.npmjs.com/package/@pulumi/external)
@@ -264,7 +264,7 @@ def call_plain(
264
264
  output = pulumi.runtime.call(tok, props, res, typ)
265
265
 
266
266
  # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
267
- result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output)))
267
+ result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output)))
268
268
 
269
269
  problem = None
270
270
  if not known:
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -112,9 +117,6 @@ def get_external(programs: Optional[Sequence[str]] = None,
112
117
  query=pulumi.get(__ret__, 'query'),
113
118
  result=pulumi.get(__ret__, 'result'),
114
119
  working_dir=pulumi.get(__ret__, 'working_dir'))
115
-
116
-
117
- @_utilities.lift_output_func(get_external)
118
120
  def get_external_output(programs: Optional[pulumi.Input[Sequence[str]]] = None,
119
121
  query: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
120
122
  working_dir: Optional[pulumi.Input[Optional[str]]] = None,
@@ -125,4 +127,15 @@ def get_external_output(programs: Optional[pulumi.Input[Sequence[str]]] = None,
125
127
  :param Mapping[str, str] query: A map of string values to pass to the external program as the query arguments. If not supplied, the program will receive an empty object as its input.
126
128
  :param str working_dir: Working directory of the program. If not supplied, the program will run in the current directory.
127
129
  """
128
- ...
130
+ __args__ = dict()
131
+ __args__['programs'] = programs
132
+ __args__['query'] = query
133
+ __args__['workingDir'] = working_dir
134
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
135
+ __ret__ = pulumi.runtime.invoke_output('external:index/getExternal:getExternal', __args__, opts=opts, typ=GetExternalResult)
136
+ return __ret__.apply(lambda __response__: GetExternalResult(
137
+ id=pulumi.get(__response__, 'id'),
138
+ programs=pulumi.get(__response__, 'programs'),
139
+ query=pulumi.get(__response__, 'query'),
140
+ result=pulumi.get(__response__, 'result'),
141
+ working_dir=pulumi.get(__response__, 'working_dir')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['ProviderArgs', 'Provider']
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "external",
4
- "version": "0.1.0-alpha.1728365336"
4
+ "version": "0.1.0-alpha.1728590441"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_external
3
- Version: 0.1.0a1728365336
3
+ Version: 0.1.0a1728590441
4
4
  Summary: A Pulumi package for creating and managing External cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com/
@@ -9,8 +9,9 @@ Keywords: pulumi,category/cloud
9
9
  Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: parver>=0.2.1
12
- Requires-Dist: pulumi<4.0.0,>=3.0.0
12
+ Requires-Dist: pulumi<4.0.0,>=3.136.0
13
13
  Requires-Dist: semver>=2.8.1
14
+ Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
14
15
 
15
16
  [![Actions Status](https://github.com/pulumi/pulumi-external/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-external/actions)
16
17
  [![NPM version](https://img.shields.io/npm/v/@pulumi/external)](https://www.npmjs.com/package/@pulumi/external)
@@ -0,0 +1,6 @@
1
+ parver>=0.2.1
2
+ pulumi<4.0.0,>=3.136.0
3
+ semver>=2.8.1
4
+
5
+ [:python_version < "3.11"]
6
+ typing-extensions>=4.11
@@ -1,11 +1,11 @@
1
1
  [project]
2
2
  name = "pulumi_external"
3
3
  description = "A Pulumi package for creating and managing External cloud resources."
4
- dependencies = ["parver>=0.2.1", "pulumi>=3.0.0,<4.0.0", "semver>=2.8.1"]
4
+ dependencies = ["parver>=0.2.1", "pulumi>=3.136.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""]
5
5
  keywords = ["pulumi", "category/cloud"]
6
6
  readme = "README.md"
7
7
  requires-python = ">=3.8"
8
- version = "0.1.0a1728365336"
8
+ version = "0.1.0a1728590441"
9
9
  [project.license]
10
10
  text = "Apache-2.0"
11
11
  [project.urls]
@@ -1,3 +0,0 @@
1
- parver>=0.2.1
2
- pulumi<4.0.0,>=3.0.0
3
- semver>=2.8.1