-
Is your feature request related to a problem? Please describe.
Python script:
Then there is an error due to
Describe the solution you'd like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @fbhdr, foo:
bar: 3
a: ${foo.bar}
b: ${.bar}
c: [2, "${foo.bar}"]
d: [2, "${..bar}"] Using two dots in |
Beta Was this translation helpful? Give feedback.
-
Potentially related: Steps to reproduce: foo: bar
my_list:
- y: "pre-${foo}-post"
z: "pre-${..foo}-post" conf = OmegaConf.load("example.yaml")
conf["list"][0]["y"] # Returns "pre-bar-post"
conf["list"][0]["z"] # Returns the following error: Error:
Let me know if I should open an issue. @Jasha10 |
Beta Was this translation helpful? Give feedback.
@loodvn have you tried with three dots in the yaml file?
...z instead of ..z