CCI-MOC / flocx-market

2 stars 9 forks source link

Remove __init__ method from OfferApi #59

Closed larsks closed 5 years ago

larsks commented 5 years ago

The OfferApi class was needlessly overriding the __init__ method from the OfferModel class. By overriding the default __init__ with one that only accepts positional parameters, the OfferApi class made all parameters required (whereas we would like to be able to provide default values in some cases).

Closes #52

x-branch-name: offer_init