def __init__()

in experiments/google/cloud/ml/applied/embeddings/embeddings.py [0:0]


    def __init__(self):
        project = Config.value(Config.SECTION_PROJECT, "id")
        location = Config.value(Config.SECTION_PROJECT, "location")
        api_regional_endpoint = Config.value(Config.SECTION_PROJECT, "endpoint")

        client_options = {"api_endpoint": api_regional_endpoint}
        # Initialize client that will be used to create and send requests.
        # This client only needs to be created once, and can be reused for multiple requests.
        self.client = aiplatform.gapic.PredictionServiceClient(
            client_options=client_options
        )
        self.location = location
        self.project = project