mozilla / active-data-recipes

A repository of various activedata queries and recipes
Mozilla Public License 2.0
8 stars 24 forks source link

Create a single data structure for recipe metadata #103

Open ahal opened 5 years ago

ahal commented 5 years ago

There are a few global values that various things look for in a recipe. For example, RUN_CONTEXT, BROKEN, etc.

We should have a single construct for all recipe metadata. I guess for now we can keep using a global variable + dict:

META = {
    'disabled': 'true',
    'context': { ... },
}

Eventually we might want to move this to an external file and have that be the primary place to define a recipe, but for now we can leave them in the python module.