def get_table(self, dataset, table, project_id=None):
        """ Retrieve a table if it exists, otherwise return an empty dict.

        Parameters
        ----------
        dataset : str
            The dataset that the table is in
        table : str
            The name of the table
        project_id: str, optional
            The project that the table is in

        Returns
        -------
        dict
            Containing the table object if it exists, else empty
        """
        project_id = self._get_project_id(project_id)
        try:            
            table = self.bigquery.tables().get(
                projectId=project_id, datasetId=dataset,
                tableId=table).execute(num_retries=self.num_retries)
        except HttpError:
            table = {}

        return table
def get_table ( self , dataset , table , project_id = None ) : project_id = self . _get_project_id ( project_id ) try : table = self . bigquery . tables ( ) . get ( projectId = project_id , datasetId = dataset , tableId = table ) . execute ( num_retries = self . num_retries ) except HttpError : table = { } return table
Retrieve a table if it exists, otherwise return an empty dict.

        Parameters
        ----------
        dataset : str
            The dataset that the table is in
        table : str
            The name of the table
        project_id: str, optional
            The project that the table is in

        Returns
        -------
        dict
            Containing the table object if it exists, else empty