Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

hydra key is not in struct

Real Raccoon answered on January 20, 2023 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers


hydra key is not in struct

0

from omegaconf import OmegaConf,open_dict

conf = OmegaConf.create({"a": {"aa": 10, "bb": 20}})

OmegaConf.set_struct(conf, True)

with open_dict(conf):

... conf.a.cc = 30

conf.a.cc

30

Popularity 2/10 Helpfulness 1/10 Language python
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Jan 20 2023
Real Raccoon
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.