openhands.server.sheets_client
GoogleSheetsClient Objects
class GoogleSheetsClient()
__init__
def __init__()
Initialize Google Sheets client using workload identity. Uses application default credentials which supports workload identity when running in GCP.
get_usernames
def get_usernames(spreadsheet_id: str, range_name: str = 'A:A') -> List[str]
Get list of usernames from specified Google Sheet.
Arguments:
spreadsheet_id
- The ID of the Google Sheetrange_name
- The A1 notation of the range to fetch
Returns:
List of usernames from the sheet