- Python SDK
- cURL
- Javascript
Copy
Ask AI
from turingdb import TuringDB
# Setup TuringDB client
client = TuringDB(
instance_id="...", # Replace by your instance id
auth_token="...", # Replace by your API token
)
# Create a new graph called my_graph
client.query('CREATE GRAPH my_graph')
client.set_graph('my_graph')