fix
BREAKING
task/symbol-intel-mapped-as-dataclass
#1 / 1
fix: convert MusehubSymbolIntel to MappedAsDataclass
default=list/dict on plain Base subclasses only fires at INSERT, not at Python construction time. MappedAsDataclass + default_factory=list ensures each instance gets its own list at __init__, which fixes service code that accesses .blast_top/.weekly on freshly constructed (unflushed) objects.
All nullable optional fields get explicit default=None to satisfy MappedAsDataclass field ordering rules (required fields first).
26 tests pass in test_model_defaults.py.
sha256:94b4bd7c2eaf50a68ab332e5316894cc1e8b755c5d1484ea243d54283486b070
sha
sha256:5b70548a7b488011a8de01b09853b550985461c39c7a48bb5ccf159298524ec5
snapshot
← Older
Oldest on task/symbol-intel-mapped-as-dataclass
All commits
Newer →
Latest on task/symbol-intel-mapped-as-dataclass
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:94b4bd7c2eaf50a68ab332e5316894cc1e8b755c5d1484ea243d54283486b070 --body "your comment"
No comments yet. Be the first to start the discussion.