rubenf
rubenf15mo ago

Alper

@Alper
mongodb = dict
mongodb = dict
but you can even type it with TypedDict or ask ai to generate for you, or click +Type to have it be generated for you
4 Replies
Alper
Alper15mo ago
not really sure what the resource is helping with i solved it now by adding variables for the mongo url and directly connecting via mongoengine in the code
rubenf
rubenfOP15mo ago
Resources and Resource Types | Windmill
Resources are rich objects in JSON that allow to store configuration and credentials.
Alper
Alper15mo ago
got it. so resources are like variables with the difference that they are not primitives but can have any object shape i somehow thought that resources are actually establishing connections - like integrations
rubenf
rubenfOP15mo ago
exactly, they're just data/object