Skip to content

Commit 0526657

Browse files
committed
Add DataStax Fluent API module
1 parent b563c7b commit 0526657

File tree

16 files changed

+1352
-376
lines changed

16 files changed

+1352
-376
lines changed

build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ schedules:
138138
schedule: adhoc
139139
disable_pull_requests: true
140140
branches:
141-
include: ['oss-next']
141+
include: [/oss-next.*/]
142142
env_vars: |
143143
EVENT_LOOP_MANAGER='libev'
144144
EXCLUDE_LONG=1

cassandra/cluster.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2522,7 +2522,8 @@ def execute(self, query, parameters=None, timeout=_NOT_SET, trace=False,
25222522
not yet connected, the query will fail with :class:`NoHostAvailable`. Using this is
25232523
discouraged except in a few cases, e.g., querying node-local tables and applying schema changes.
25242524
2525-
`execute_as` the user that will be used on the server to execute the request.
2525+
`execute_as` the user that will be used on the server to execute the request. This is only available
2526+
on a DSE cluster.
25262527
"""
25272528

25282529
return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state, host, execute_as).result()

cassandra/datastax/graph/__init__.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,3 @@
2020
graph_result_row_factory, graph_graphson2_row_factory
2121
)
2222
from cassandra.datastax.graph.graphson import *
23-
24-
25-
HAVE_GREMLIN = False
26-
try:
27-
import gremlin_python
28-
HAVE_GREMLIN = True
29-
except ImportError:
30-
# gremlinpython is not installed.
31-
pass
32-
33-
if HAVE_GREMLIN:
34-
from cassandra.datastax.graph._dse_graph import *

cassandra/datastax/graph/_dse_graph.py

Lines changed: 0 additions & 214 deletions
This file was deleted.

0 commit comments

Comments
 (0)