

def get_tables(self, dataset_id, app_id, start_time, end_time):
    'Retrieve a list of tables that are related to the given app id\n        and are inside the range of start and end times.\n\n        Parameters\n        ----------\n        dataset_id : str\n            The BigQuery dataset id to consider.\n        app_id : str\n            The appspot name\n        start_time : Union[datetime, int]\n            The datetime or unix time after which records will be fetched.\n        end_time : Union[datetime, int]\n            The datetime or unix time up to which records will be fetched.\n\n        Returns\n        -------\n        list\n            A ``list`` of table names.\n        '
    if isinstance(start_time, datetime):
        start_time = calendar.timegm(start_time.utctimetuple())
    if isinstance(end_time, datetime):
        end_time = calendar.timegm(end_time.utctimetuple())
    every_table = self._get_all_tables(dataset_id)
    app_tables = every_table.get(app_id, {
        
    })
    return self._filter_tables_by_time(app_tables, start_time, end_time)

dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py BigQueryClient.get_tables/original