in services/handlers/fetch_resources/main.py [0:0]
def __init__(self, app_config):
"""
Initializes the CloudTaskHandler with configuration for the GCP project
and other settings.
"""
self.project = app_config["project_name"]
self.service_location = app_config["service_location"]
self.queue = app_config["queue"]
self.handler_name = app_config["handler_name"]
self.dataset_name = app_config["dataset_name"]
self._resource_manager_client = ResourceManagerApiAdapter()
self.api_client = DatacatalogApiAdapter()
self.big_query_client = BigQueryAdapter(app_config)
self.cloud_task_publisher = CloudTaskPublisher(
self.project, self.service_location, self.queue
)