https://pulumi.com logo
#python
Title
# python
c

crooked-sunset-90921

06/02/2022, 3:42 AM
having a brain block... if I have a function that returns a dict, how do I get just the one specific key from the function... it's obviously not myfunc().get("bla"), but something on those lines?
b

billowy-army-68599

06/02/2022, 8:25 AM
@crooked-sunset-90921 assign the function call to a variable and then use
var.get("blah")
?
c

crooked-sunset-90921

06/03/2022, 2:22 PM
Yeah was going for a one liner 🙂 Thanks, solved another way
2 Views