```@resource(config_schema={...}) def asset(ctx): ...
# announcements
n
Copy code
@resource(config_schema={...})
def asset(ctx):
    return ctx.resource_config
a
Thank you that's really helpful 🙂 Is there a way to programmatically repeat pipelines over slightly different resources?
n
Sure, it's all just python code
You can get as meta as you want
👍 1
a
Thanks, I wanted to double check as previous bits I thought could just be Python code couldn't
n
The function you pass to
@pipeline
is a DSL for creating a pipeline def, but the way you build that function is as meta as you want, just remember that the DSL code has to result in something static.
👍 1