pulumi-wavefront 3.1.0a1700616514__py3-none-any.whl → 3.1.0a1701793969__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.
@@ -3,6 +3,7 @@
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
5
 
6
+ import asyncio
6
7
  import importlib.util
7
8
  import inspect
8
9
  import json
@@ -13,6 +14,7 @@ import typing
13
14
 
14
15
  import pulumi
15
16
  import pulumi.runtime
17
+ from pulumi.runtime.sync_await import _sync_await
16
18
 
17
19
  from semver import VersionInfo as SemverVersion
18
20
  from parver import Version as PEP440Version
@@ -246,5 +248,44 @@ def lift_output_func(func: typing.Any) -> typing.Callable[[_F], _F]:
246
248
 
247
249
  return (lambda _: lifted_func)
248
250
 
251
+
252
+ def call_plain(
253
+ tok: str,
254
+ props: pulumi.Inputs,
255
+ res: typing.Optional[pulumi.Resource] = None,
256
+ typ: typing.Optional[type] = None,
257
+ ) -> typing.Any:
258
+ """
259
+ Wraps pulumi.runtime.plain to force the output and return it plainly.
260
+ """
261
+
262
+ output = pulumi.runtime.call(tok, props, res, typ)
263
+
264
+ # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency.
265
+ result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output)))
266
+
267
+ problem = None
268
+ if not known:
269
+ problem = ' an unknown value'
270
+ elif secret:
271
+ problem = ' a secret value'
272
+
273
+ if problem:
274
+ raise AssertionError(
275
+ f"Plain resource method '{tok}' incorrectly returned {problem}. "
276
+ + "This is an error in the provider, please report this to the provider developer."
277
+ )
278
+
279
+ return result
280
+
281
+
282
+ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bool, bool, set]:
283
+ return (
284
+ await o._future,
285
+ await o._is_known,
286
+ await o._is_secret,
287
+ await o._resources,
288
+ )
289
+
249
290
  def get_plugin_download_url():
250
291
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi-wavefront
3
- Version: 3.1.0a1700616514
3
+ Version: 3.1.0a1701793969
4
4
  Summary: A Pulumi package for creating and managing wavefront cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -1,6 +1,6 @@
1
1
  pulumi_wavefront/__init__.py,sha256=GzcOZqBCXeYt4sDA_t2C2l5NHhs3DEqcURTuQYA73r4,6689
2
2
  pulumi_wavefront/_inputs.py,sha256=R789PJso_8NpZL9AwMy_8cnrmdbhbfmlM8lPlWlBn9c,78792
3
- pulumi_wavefront/_utilities.py,sha256=fRvpCIKutW049SlpPUAoouFyjnSSk1J-OY0b8SDzJaE,8081
3
+ pulumi_wavefront/_utilities.py,sha256=nNKRJyG0bkCleVzIGnszB5TSQOVUqAHks2baneWhujg,9249
4
4
  pulumi_wavefront/alert.py,sha256=jmmYuCfCBBptwkw2yV5tc0cKHery4CWmmwkR5L3aikA,49189
5
5
  pulumi_wavefront/alert_target.py,sha256=LMDSEeG4sBgCx5Wp53kl1WnM_Z-Na4rtr4OHc6zzadw,33153
6
6
  pulumi_wavefront/cloud_integration_app_dynamics.py,sha256=qZzuaWW0fjQ6Jp9MZeXbEu2Ne_nn9chRmUK2dlSNIDQ,46807
@@ -52,7 +52,7 @@ pulumi_wavefront/user_group.py,sha256=YEZ6HF7sRkHzOinvRfUUSG2Mm3BGA0DMaQy6A0wO9j
52
52
  pulumi_wavefront/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
53
53
  pulumi_wavefront/config/__init__.pyi,sha256=d2VUcPrbCK4iSf8oWPkl-TIq_T5OF3b5aQBtCM7CSjE,417
54
54
  pulumi_wavefront/config/vars.py,sha256=FLpRg92qDNv_ERp4Re35vq8ik9UWlBjEXBaB1vTwfMQ,733
55
- pulumi_wavefront-3.1.0a1700616514.dist-info/METADATA,sha256=VL8QqUm1ARhmiJdlNoOOMA4Dlm6jJ24QhsScOTaoB6o,2893
56
- pulumi_wavefront-3.1.0a1700616514.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
57
- pulumi_wavefront-3.1.0a1700616514.dist-info/top_level.txt,sha256=fLT-9Ork4twhhON_den56-cfgFm6yOFEMvA18RQ3y8k,17
58
- pulumi_wavefront-3.1.0a1700616514.dist-info/RECORD,,
55
+ pulumi_wavefront-3.1.0a1701793969.dist-info/METADATA,sha256=ym1WxdzOm4FpEujZSJTpai9Xm0ZxHoH3ZkyWVsgCyJo,2893
56
+ pulumi_wavefront-3.1.0a1701793969.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
57
+ pulumi_wavefront-3.1.0a1701793969.dist-info/top_level.txt,sha256=fLT-9Ork4twhhON_den56-cfgFm6yOFEMvA18RQ3y8k,17
58
+ pulumi_wavefront-3.1.0a1701793969.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.3)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5