question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support variables in env.yaml

See original GitHub issue

Compare:

data_out_dir = "../output/data"
models_out_dir = "../output/models"
alerts_out_dir = "../output/alerts"

vs.

out_dir = "../output"
data_out_dir = "{{out_dir}}/data"
models_out_dir = "{{out_dir}}/models"
alerts_out_dir = "{{out_dir}}/alerts"

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
williewheeler-mscommented, Mar 31, 2022

Oh, and to your suggested error message – sure, that would be great. Something I really appreciate about ploomber is that you do a good job of trying to figure out what the user was trying to do and offer hints. I see your idea in that light.

1reaction
williewheeler-mscommented, Mar 31, 2022
     __
    /,,\o
    ____
  o/,__,\
   ______
  /,____,\o
  ________
o/,______,\
 __________
/,________,\o

https://codegolf.stackexchange.com/questions/87614/turtles-all-the-way-down

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use a YAML file or environment variables to populate ...
In most cases, we suggest using a config variables YAML file. YAML files make variables more visible, easily editable, and allow for modularization...
Read more >
Use environment variables in the configuration - Elastic
Use environment variables in the configurationedit ... Where VAR is the name of the environment variable. Each variable reference is replaced at startup...
Read more >
Document how to use environment variables in `.yml` config file
Be able to pass headers in via the CLI, or support variables in YAML. Describe alternatives you've considered. Checking in codegen.yml with ...
Read more >
How to replace environment variable value in yaml file to be ...
You can do it through yaml.add_implicit_resolver and yaml.add_constructor . In the code below, you are defining a resolver that will match on ${ ......
Read more >
Environment variables in Compose | Docker Documentation
If you have multiple environment variables, you can substitute them by adding them to a default environment variable file named .env or by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found