gtalarico / pyairtable

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

Introduce "Collaborator" model #287

Closed mesozoic closed 1 year ago

mesozoic commented 1 year ago

The comments branch (#282) had an annoying little quirk where mentioned users were returned as type-annotated models, but the author information was returned as a dict instead. This makes it consistent and adds a few docs/tests.

codecov[bot] commented 1 year ago

Codecov Report

Merging #287 (855177b) into main (a3b471a) will increase coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #287      +/-   ##
==========================================
+ Coverage   95.75%   95.79%   +0.04%     
==========================================
  Files          18       19       +1     
  Lines         919      928       +9     
==========================================
+ Hits          880      889       +9     
  Misses         39       39              
Files Changed Coverage Δ
pyairtable/api/table.py 98.07% <ø> (ø)
pyairtable/models/__init__.py 100.00% <100.00%> (ø)
pyairtable/models/collaborator.py 100.00% <100.00%> (ø)
pyairtable/models/comment.py 100.00% <100.00%> (ø)