https://dagster.io/ logo
#ask-community
Title
# ask-community
f

fahad

08/25/2023, 3:46 PM
Hey all, a while back I saw docs for a thing called
ResourceDependency
that seemed like it could be used to declare a resource dependency within a pythonic resource on a resource that was not yet migrated to a pythonic resource itself. I’m no longer seeing any docs on this, nor any docs on something that does the same thing. Does such a thing still exist? For example I have a resource called “my_client” that is not a Pythonic resource that I would like to depend on in my Pythonic resource called `my_client_wrapper`:
Copy code
@resource
def my_client_resource():
    return MyClient()

class MyClientWrapper(ConfigurableResource):
    # How to depend on my_client_resource?

resources = {"my_client": my_client_resource(), "my_client_wrapper": MyClientWrapper(...)}