# Google Sheets Tasks
A collection of tasks for interacting with Google Sheets.
# WriteGsheetRow
class
prefect.tasks.gsheets.gsheets.WriteGsheetRow
(credentials_filename=None, sheet_key=None, worksheet_name=None, **kwargs)[source]A task for writing a row to a Google Sheet. Note that all initialization settings can be provided / overwritten at runtime.
Args:
credentials_filename (Union[str, pathlib.Path])
: Location of credentials filesheet_key (str)
: The key corresponding to the Google Sheetworksheet_name (str)
: The worksheet to target**kwargs (optional)
: additional kwargs to pass to theTask
constructor
methods: |
---|
prefect.tasks.gsheets.gsheets.WriteGsheetRow.run (data, credentials_filename=None, sheet_key=None, worksheet_name=None)[source] |
Appends a row of data to a Google Sheets worksheet
|
# ReadGsheetRow
class
prefect.tasks.gsheets.gsheets.ReadGsheetRow
(credentials_filename=None, sheet_key=None, worksheet_name=None, **kwargs)[source]A task for reading a row from a Google Sheet. Note that all initialization settings can be provided / overwritten at runtime.
Args:
credentials_filename (Union[str, pathlib.Path])
: Location of credentials filesheet_key (str)
: The key corresponding to the Google Sheetworksheet_name (str)
: The worksheet to target**kwargs (optional)
: additional kwargs to pass to theTask
constructor
methods: |
---|
prefect.tasks.gsheets.gsheets.ReadGsheetRow.run (row, credentials_filename=None, sheet_key=None, worksheet_name=None)[source] |
Appends a row of data to a Google Sheets worksheet
|
This documentation was auto-generated from commit n/a
on July 1, 2021 at 18:35 UTC