proud-art-41399
04/27/2021, 6:53 AMargs = (), kwargs = {}
def wrapper(*args, **kwargs):
from .. import Output # pylint: disable=import-outside-toplevel
> _sync_await(run_pulumi_func(lambda: _sync_await(Output.from_input(fn(*args, **kwargs)).future())))
/opt/hostedtoolcache/Python/3.6.13/x64/lib/python3.6/site-packages/pulumi/runtime/mocks.py:37:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
...shortened...
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
arg = ~T, tvars = (~T, ~T), args = [<class 'str'>]
def _replace_arg(arg, tvars, args):
"""An internal helper function: replace arg if it is a type variable
found in tvars with corresponding substitution from args or
with corresponding substitution sub-tree if arg is a generic type.
"""
if tvars is None:
tvars = []
if hasattr(arg, '_subs_tree') and isinstance(arg, (GenericMeta, _TypingBase)):
return arg._subs_tree(tvars, args)
if isinstance(arg, TypeVar):
for i, tvar in enumerate(tvars):
if arg == tvar:
> return args[i]
E IndexError: list index out of range
/opt/hostedtoolcache/Python/3.6.13/x64/lib/python3.6/typing.py:566: IndexError
red-match-15116
04/27/2021, 6:58 AMproud-art-41399
04/27/2021, 7:01 AM