polars_online.ModelBank.specs¶
- property ModelBank.specs: list[dict[str, Any]]¶
The specs this bank runs, with every field filled in.
These are the dicts the builders made, with the fields a hand-written dict may leave out filled in, such as
targetsfor a model with no target, anddrift_action. A state file carries them, so a bank loaded from one reports its specs without being told what they are. Withgroups(),output_fieldsand the tables the bank’s readers return, a caller who knows nothing about a state file in advance can find what it holds.The list is a read-only copy. The bank runs from the state it built when it was made, not from this list, so a change here could only disagree with it, and a stale copy would put the wrong names on coefficients. Assigning to
bank.specsraisesAttributeError, and changing what it returns changes nothing in the bank.