• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

omry / omegaconf / ef85118a-593c-433c-a9ca-1181aa1a0bbc
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 19 Jul 2026 11:11AM UTC
Jobs 1
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Jul 2026 11:10AM UTC coverage: 100.0%. Remained the same
ef85118a-593c-433c-a9ca-1181aa1a0bbc

push

circleci

web-flow
Preserve ValueNode types in OmegaConf.masked_copy (#813) (#1308)

* Preserve ValueNode types in OmegaConf.masked_copy (#813)

`masked_copy` was built on top of `items_ex(resolve=False)`, which
unwraps top-level `ValueNode` leaves to their raw Python value. Those
values then re-enter `DictConfig.__init__` as plain Python objects and
get re-wrapped as `AnyNode`, dropping any `IntegerNode` / `StringNode` /
`EnumNode` typing that the source schema declared.

(Nested `DictConfig`/`ListConfig` survived because `items_ex` did not
unwrap container nodes — only leaf `ValueNode` instances.)

Switch to deep-copying the underlying nodes directly so the leaf node
class survives the copy, matching the type information at every level
of the source. Adds a regression test covering top-level `IntegerNode`
and `StringNode` and re-asserts nested typing.

* Use OmegaConf.structured() to satisfy pyrefly overload check

* Address review feedback for masked_copy

---------

Co-authored-by: Omry Yadan <omry@yadan.net>

1 of 1 new or added line in 1 file covered. (100.0%)

4138 of 4138 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ef85118a-593c-433c-a9ca-1181aa1a0bbc.1 19 Jul 2026 11:11AM UTC 21
100.0
CircleCI Job
Source Files on build ef85118a-593c-433c-a9ca-1181aa1a0bbc
  • Tree
  • List 21
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #EF85118A...
  • 93023e78 on github
  • Prev Build on main (#A45EA7AB...)
  • Next Build on main (#BBC208A2...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc