I think this should be a rather simple question, b...
# announcements
j
I think this should be a rather simple question, but if I want to pass two
required_resource_keys
to a solid would it look something like
Copy code
@solid(
  required_resource_keys={'s3','database'}
)
def my_solid(context):
    # stuff
And then the pipeline that invokes the solid would look something like
Copy code
@pipeline(
    mode_defs = [
        ModeDefinition("test", resource_defs={'s3': s3_resource, 'database': postgres_resource})
    ]
)
def my_pipeline():
    r = my_solid()
s
That’s right!
j
thankyou