jpetrucciani / hubspot3

python3.6+ hubspot client based on hapipy, but modified to use the newer endpoints and non-legacy python
MIT License
147 stars 73 forks source link

Added `update` method to properties client #59

Closed rheinwerk-mp closed 5 years ago

rheinwerk-mp commented 5 years ago

This PR is a small extension for the properties client. It adds the method update which works like the create method. Since both methods rely on the same validation, the validation has been extracted into a new method _validate, and it has been extended asserting that the datatype DATA_TYPE_ENUM always needs an options parameter.

jpetrucciani commented 5 years ago

Awesome! I'll get a new release out soon.

jpetrucciani commented 5 years ago

This is now live on pip as version 3.2.28!

Thanks for your continued contributions! 😄