devbisme / skidl

SKiDL is a module that extends Python with the ability to design electronic circuits.
https://devbisme.github.io/skidl/
MIT License
994 stars 118 forks source link

Preserve kwargs #177

Closed rtpavlovsk21 closed 1 year ago

rtpavlovsk21 commented 1 year ago

https://github.com/devbisme/skidl/issues/176

This PR simply stores duplicated keyword args into the Part.fields so that parts can pass duplicate kwargs to the netlist generators, ie "Datasheet" could exist in the Part.fields and Part.Datasheet when parts are passed these kwargs on creation.