refactor: remove print statements
This commit is contained in:
parent
68d81a9125
commit
0800810713
1 changed files with 3 additions and 5 deletions
|
|
@ -1519,7 +1519,9 @@ class Neo4jAdapter(GraphDBInterface):
|
||||||
"version": "5",
|
"version": "5",
|
||||||
"region": "europe-west1",
|
"region": "europe-west1",
|
||||||
"memory": "1GB",
|
"memory": "1GB",
|
||||||
"name": graph_db_name[0:29],
|
"name": graph_db_name[
|
||||||
|
0:29
|
||||||
|
], # TODO: Find better name to name Neo4j instance within 30 character limit
|
||||||
"type": "professional-db",
|
"type": "professional-db",
|
||||||
"tenant_id": tenant_id,
|
"tenant_id": tenant_id,
|
||||||
"cloud_provider": "gcp",
|
"cloud_provider": "gcp",
|
||||||
|
|
@ -1527,10 +1529,6 @@ class Neo4jAdapter(GraphDBInterface):
|
||||||
|
|
||||||
response = requests.post(url, headers=headers, json=payload)
|
response = requests.post(url, headers=headers, json=payload)
|
||||||
|
|
||||||
print(response.status_code)
|
|
||||||
print(response.text)
|
|
||||||
# TODO: Find better name to name Neo4j instance within 30 character limit
|
|
||||||
print(graph_db_name[0:29])
|
|
||||||
graph_db_name = "neo4j"
|
graph_db_name = "neo4j"
|
||||||
graph_db_url = response.json()["data"]["connection_url"]
|
graph_db_url = response.json()["data"]["connection_url"]
|
||||||
graph_db_key = resp["access_token"]
|
graph_db_key = resp["access_token"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue