(self, subscription_key)
| 9 | |
| 10 | class GooglePlacesAPIWrapper: |
| 11 | def __init__(self, subscription_key) -> None: |
| 12 | self.gplaces_api_key: str = subscription_key |
| 13 | self.google_map_client = googlemaps.Client(self.gplaces_api_key) |
| 14 | self.top_k_results: Optional[int] = None |
| 15 | |
| 16 | def run(self, query: str) -> str: |
| 17 | """Run Places search and get k number of places that exists that match.""" |
nothing calls this directly
no outgoing calls
no test coverage detected