# Airtable Tasks


A collection of tasks for interacting with Airtable.

# WriteAirtableRow

class

prefect.tasks.airtable.airtable.WriteAirtableRow

(base_key=None, table_name=None, **kwargs)[source]

A task for writing a row to an Airtable table.

Note that all initialization settings can be provided / overwritten at runtime.

Args:

  • base_key (str): the Airtable base key
  • table_name (str): the table name
  • **kwargs (optional): additional kwargs to pass to the Task constructor

methods:                                                                                                                                                       

prefect.tasks.airtable.airtable.WriteAirtableRow.run

(data, base_key=None, table_name=None, api_key=None)[source]

Inserts data into an Airtable table

Args:

  • data (dict): the data to insert. This should be formatted as a dictionary mapping each column name to a value.
  • base_key (str): the Airtable base key
  • table_name (str): the table name
  • api_key (str): an Airtable API key. This can be provided via a Prefect Secret
Returns:
  • a dictionary containing information about the successful insert



This documentation was auto-generated from commit n/a
on June 17, 2020 at 17:27 UTC