So, I have a rough understanding of how to approac...
# announcements
t
So, I have a rough understanding of how to approach this, but given my repository at github.com/mitodl/ol-data-pipelines, and the edx pipeline defined there, I want to set up a preset definition where I can drop some YAML data on disk with my config management system to populate the secrets for two different instances of that pipeline targeting different source systems. Does someone have a quick code snippet for how to do that? If it's more than 5 minutes to do, then don't bother as I can figure it out and I'm just being lazy.
@max or @schrockn do you have a ready example of ^? As I said, I can figure it out, so don't spend a ton of time on it for my sake.
m
im not 100% sure i understand what you're asking for but have you seen https://docs.dagster.io/_apidocs/presets#dagster.PresetDefinition.from_files
this is a convenience constructor for composing yaml fragments in separate files to construct presets
t
Great, thank you
👍 1