Update tools/googleDistanceMatrix/apis.py
Browse files
tools/googleDistanceMatrix/apis.py
CHANGED
|
@@ -9,7 +9,7 @@ import numpy as np
|
|
| 9 |
|
| 10 |
|
| 11 |
class GoogleDistanceMatrix:
|
| 12 |
-
def __init__(self, subscription_key: str="
|
| 13 |
self.gplaces_api_key: str = subscription_key
|
| 14 |
self.data = pd.read_csv('/home/user/app/database/googleDistanceMatrix/distance.csv')
|
| 15 |
print("GoogleDistanceMatrix loaded.")
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
class GoogleDistanceMatrix:
|
| 12 |
+
def __init__(self, subscription_key: str="") -> None:
|
| 13 |
self.gplaces_api_key: str = subscription_key
|
| 14 |
self.data = pd.read_csv('/home/user/app/database/googleDistanceMatrix/distance.csv')
|
| 15 |
print("GoogleDistanceMatrix loaded.")
|