Write the files in the etc directories as Python files:
Proposal:
- Create a
config.py module in each app's bin directory
- Add the contents of the
yml files to the config.py module as dictionaries, such that the imports are:
from config import recipe_paths
from config import request_defaults
from config import streams
- When
cmewpy is created, only the imports will need updating to e.g. from configure_for.config import recipe_paths (in the same way as all the other Python modules) 👍
Write the files in the
etcdirectories as Python files:fetch_recipe.py#514)Proposal:
config.pymodule in each app'sbindirectoryymlfiles to theconfig.pymodule as dictionaries, such that the imports are:from config import recipe_pathsfrom config import request_defaultsfrom config import streamscmewpyis created, only the imports will need updating to e.g.from configure_for.config import recipe_paths(in the same way as all the other Python modules) 👍