Here is my config directory structure,
config
|
--scenes
|
-- aaa.yaml
-- bbb.yaml
-- ccc.yaml
-- myconfig.yaml
aaa.yaml
--------
field_xxx: "someval"
field_yyy: "someval"
field_zzz: "someval"
bbb.yaml
--------
field_xxx: "someval"
field_yyy: "someval"
field_zzz: "someval"
myconfig.yaml
has two fields src_scene
and dst_scene
. Currently I've hardcoded the fields and values for aaa.yaml
and bbb.yaml
into myconfig.yaml
as follows,
myconfig.yaml
-------
src_scene:
field_xxx: "someval"
field_yyy: "someval"
field_zzz: "someval"
dst_scene:
field_xxx: "someval"
field_yyy: "someval"
field_zzz: "someval"
Ideally, I want to be able to assign these fields values from any of the config files in scenes group. Something like below,
src_scene: scenes/aaa.yaml
dst_scene: scenes/bbb.yaml
What is the right way of achieving this?