new
new(
self ,
**kwargs ,
)-> ‘Self’
Create a new instance with some attributes updated.
Dumps all fields (not just the set ones) so union discriminators and validator-normalized fields survive reconstruction.
DASCore 1.0 beta is out! Read the announcement and check the migration guide.
| method of dascore.models.base.InventoryModel | source |
new(
self ,
**kwargs ,
)-> ‘Self’
Create a new instance with some attributes updated.
Dumps all fields (not just the set ones) so union discriminators and validator-normalized fields survive reconstruction.