Open braingram opened 9 months ago
The kwargs documentation for DataModel: https://github.com/spacetelescope/stdatamodels/blob/a2ad963167b143fc88b768aabf80d9e64388134d/src/stdatamodels/model_base.py#L135-L145
kwargs
DataModel
does not mention that providing key-value pairs will result in attribute assignment: https://github.com/spacetelescope/stdatamodels/blob/a2ad963167b143fc88b768aabf80d9e64388134d/src/stdatamodels/model_base.py#L285-L292
This is used (see here for one example.
The
kwargs
documentation forDataModel
: https://github.com/spacetelescope/stdatamodels/blob/a2ad963167b143fc88b768aabf80d9e64388134d/src/stdatamodels/model_base.py#L135-L145does not mention that providing key-value pairs will result in attribute assignment: https://github.com/spacetelescope/stdatamodels/blob/a2ad963167b143fc88b768aabf80d9e64388134d/src/stdatamodels/model_base.py#L285-L292
This is used (see here for one example.