02/27/2019, 5:33 PM
@thousands-notebook-91098 @worried-engineer-33884 regarding your question about how to use data sources in Python - there’s an example here you can look at:
This will be merged into the examples repo soon.
In both JavaScript and Python, data sources return promises/futures instead of Outputs because they don’t have any dependency information attached to them. This does though mean that you generally have to use async functions a bit more, and the style of that in both JavaScript and Python is a little outside of what’s “normal”. We’re still looking into options to make this feel a bit simpler. But the example above should help. (And we’re working on adding examples to all the API docs very soon so this is more directly at your fingertips).


02/27/2019, 5:48 PM
Thanks Luke! This example is helpful.
@white-balloon-205 is there a way i can get at that value without starting with an Output? e.g. if i want to just log the value — or use it as an input to a resource?