https://pulumi.com logo
#general
Title
# general
b

big-angle-30002

09/21/2023, 7:05 PM
hi dudes, exists a way to typing a python function like
Copy code
def foo(a: str) -> str:
	pass
but using somthing pulumining ? 👀
Copy code
def foo(a: str) -> Output<T>:
	pass
d

dry-keyboard-94795

09/21/2023, 7:20 PM
Yes, the syntax is with square braces though:
Output[str]
b

billowy-army-68599

09/21/2023, 7:24 PM
and non dudes of course, lots of those here 🙂