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.

[Bug] value interpolation does not work in list

See original GitHub issue

Value interpolation does not seem to work in list e.g.:

chckpnt_dirnames: 
  - ${base_dir}/${model.name}/
  - .

Doesn’t replace model.name and base_dir

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
YannDubscommented, Nov 4, 2019

Because I’m logging it and wanted to see the interpolated strings (which didn’t work when just logging the OmegaConf object)

3reactions
omrycommented, Nov 3, 2019

If you are converting to a list this is no longer an OmegaConf object.

The proper way to convert to a primitive list is to use: resolved_list = args.tests.to_container(resolve=True)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Groovy Gotcha: String interpolation does not always execute ...
This indicates that: In case 1 , the placeholder string is checked for in the list, and fails, as it hasn't been interpolated....
Read more >
Interpolation not working - Mathematica Stack Exchange
I get the following errro message: InterpolatingFunction::dmval: Input value {0.00245143} lies outside the range of data in the interpolating ...
Read more >
Docker Compose release notes
For a list of PRs and issues fixed in this release, see Compose 1.28.3. ... Values interpolated from the environment will now be...
Read more >
Interpolations - Apache FreeMarker Manual
The interpolation is used to insert the value of the expression converted to text (to string). Interpolations can be used only on two...
Read more >
Frequently Asked Questions — Ansible Documentation
Although most core modules will work with Python 3, there may be some special purpose ones which do not or you may encounter...
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