Skip to content

Releases: lfparis/airbase

Minor Updates

28 Jun 11:35
1030c20

Choose a tag to compare

Minor Updates Pre-release
Pre-release

See PR #23:

  • Modified raise_or_log_error() to process from ClientResponse object
  • Added subclass AirbaseResponseException for ClientResponse errors.

Minor Updates

20 Jun 16:13
0eb4f38

Choose a tag to compare

Minor Updates Pre-release
Pre-release

See PR #22:

Coalesced record request methods where possible. And:

Addressed Issue #16

  • Airtable() instances can now be created inside and outside async with blocks:
at = Airtable()
....
at.close()
# vs
async with Airtable() as at:
....

Addressed Issue #17

  • post_record, post_records, updated_record and update_records methods return created or modified records.
  • delete_record and delete_records return ids and deleted status of records.
  • errors return response data payload.

Addressed Issue #18

  • Response codes 500 and 502 added to exponential backoff

Fixed Issue #19

  • Added logging_level kwarg to all classes, set to 'info' by default. Each class has a separate logger instance which inherits the logging level of its parent.
async with Airtable(logging_level="info") as at:
    base = await at_user.get_base("<Base ID>", key="id")
    table = await base.get_table("<Table Name>", key="name")
  • Logging level can be changed for each class instance:
table.logger.level = "error"

Minor Updates

08 Sep 14:45

Choose a tag to compare

Minor Updates Pre-release
Pre-release
  • Fixed Issue 13 - Airtable class now takes 2 new kwargs:
    • raise_for_status: which will raise an AirbaseException for any API call not in 200s. See usage below:
     async with Airtable(raise_for_status=True):
    • verbose which logs the stack trace for any API call not in 200s:
    async with Airtable(verbose=True)
  • Fixed Issue 14 - Delete Records accepts records without a fields key
  • Added overall Record validation to all REST methods

Minor Updates

02 Mar 13:06

Choose a tag to compare

Minor Updates Pre-release
Pre-release

The following methods can now take the typecast kwarg which will allow new options to be added to Single and Multiple Select Fields.

  • await table.post_record(record, typecast=True)
  • await table.post_records(records, typecast=True)
  • await table.update_record(record, typecast=True)
  • await table.update_records(records, typecast=True)

Minor Updates

10 Dec 07:44

Choose a tag to compare

Minor Updates Pre-release
Pre-release
  • Added timeout kwarg to Airtable() constructor. Default value is kept at 300 to match aiohttp ClientTimeout

Minor Fixes

30 Nov 09:35

Choose a tag to compare

Minor Fixes Pre-release
Pre-release
  • BaseAirtable._request() method simplified

Minor Fixes

26 Nov 20:54

Choose a tag to compare

Minor Fixes Pre-release
Pre-release
  • setup.py simplifications and optional installs
  • Added py.typed for PEP 561 compatibility
  • Changes to airtable.py: handle cases with no response, and no server calls for known base ids or table names

Pre-Alpha

25 Sep 10:01

Choose a tag to compare

Pre-Alpha Pre-release
Pre-release
  • Airtable.get_base() and Base.get_table() - changed key input to kwarg

Pre-Alpha

25 Sep 09:42

Choose a tag to compare

Pre-Alpha Pre-release
Pre-release
  • Minor Fix in tools.py

Pre-Alpha

22 Sep 08:21

Choose a tag to compare

Pre-Alpha Pre-release
Pre-release