gtalarico / pyairtable

Python Api Client for Airtable
https://pyairtable.readthedocs.io
MIT License
786 stars 139 forks source link

`types.Fields` should allow field values to be `None` #269

Closed mesozoic closed 1 year ago

mesozoic commented 1 year ago

This was an oversight on my part during #263. When passing a Fields-typed dict to create() or update(), sometimes we need to be able to set a field's value to None, but that doesn't work unless we make the field value optional. I added a line to test_typing.py to prevent regressions.