Skip to content
Discussion options

You must be logged in to vote

You're welcome. Could you describe your use case more in detail? (i.e. why you have this constraint of json files?)

I would see two possible routes:

  1. Convert your json files into yaml (depending on the circumstances, this might or might not be simple)
  2. Load the json files directly from the module (in define_env()). Writing the Python code for loading the json file and updating the variables dictionary should be straightforward.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fralau
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fralau
Comment options

@takase1121
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
useful tip A how-to, good to know
3 participants
Converted from issue

This discussion was converted from issue #138 on May 26, 2022 20:41.