smartsheet-platform / smartsheet-python-sdk

Library that uses Python to connect to Smartsheet services (using API 2.0).
Apache License 2.0
136 stars 81 forks source link

Update EnumeratedValue __eq__ method to handle comparisons to NoneType #156

Closed davocarli closed 2 years ago

davocarli commented 3 years ago

I've updated the EnumeratedValue class to handle checks for whether something is None. I feel it's more intuitive to (for example) check that column.system_column_type is None, as currently I am working around this by doing str(column.system_column_type) == "None"