Open VolodymyrFrolov opened 1 month ago
To reproduce the issue several things need to come together:
${?FOO}
Please see an example for above (url2 added for use-case example only and does not affect reproducibility):
url2
app.conf:
app.conf
root { level1 { url1 = "http://default-1" url1 = ${?FOO} url2 = "http://default-2" } } include "dev.conf"
dev.conf:
dev.conf
root { level1 { url2 = "http://dev-2" } }
test.py:
test.py
from pyhocon import ConfigFactory print(ConfigFactory.parse_file('app.conf').get_string('root.level1.url1'))
Expected: http://default-1 Actual: None
http://default-1
None
Reproduced with v0.3.61, Python 3.9
v0.3.61
To reproduce the issue several things need to come together:
${?FOO}
.Please see an example for above (
url2
added for use-case example only and does not affect reproducibility):app.conf
:dev.conf
:test.py
:Expected:
http://default-1
Actual:None
Reproduced with
v0.3.61
, Python 3.9