xtrace_sdk.connectors.google_drive_connector ============================================ .. py:module:: xtrace_sdk.connectors.google_drive_connector Classes ------- .. autoapisummary:: xtrace_sdk.connectors.google_drive_connector.GoogleDriveConnector Module Contents --------------- .. py:class:: GoogleDriveConnector Bases: :py:obj:`xtrace_sdk.connectors.base.ConnectorBase` This is the base class for a Connector. It provides an interface for connecting to various data sources. .. py:attribute:: drive .. py:method:: connect() Establish a connection to the data source. This method should be implemented by subclasses to handle the specifics of connecting to the data source. .. py:method:: load_data(folder_id) Load data from a specific folder in Google Drive. :param folder_id: The ID of the folder to load data from. :type folder_id: str :return: A collection of documents loaded from the specified folder. :rtype: DocumentCollection