Skip to main content
  • Python SDK
  • cURL
  • Javascript
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')
I