Skip to content

Commit d28014c

Browse files
committed
Minor docs improvements
1 parent 79935a5 commit d28014c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

cassandra/cluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2754,6 +2754,7 @@ def _resolve_execution_profile_options(self, execution_profile):
27542754
Determine the GraphSON protocol and row factory for a graph query. This is useful
27552755
to configure automatically the execution profile when executing a query on a
27562756
core graph.
2757+
27572758
If `graph_protocol` is not explicitly specified, the following rules apply:
27582759
- Default to GraphProtocol.GRAPHSON_1_0, or GRAPHSON_2_0 if the `graph_language` is not gremlin-groovy.
27592760
- If `graph_options.graph_name` is specified and is a Core graph, set GraphSON_3_0.

docs/api/cassandra/cluster.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,19 @@
120120

121121
.. automethod:: set_meta_refresh_enabled
122122

123-
.. autoclass:: ExecutionProfile (load_balancing_policy=<object object>, retry_policy=None, consistency_level=LOCAL_ONE, serial_consistency_level=None, request_timeout=10.0, row_factory=<function named_tuple_factory>, speculative_execution_policy=None)
123+
.. autoclass:: ExecutionProfile (load_balancing_policy=<object object>, retry_policy=None, consistency_level=ConsistencyLevel.LOCAL_ONE, serial_consistency_level=None, request_timeout=10.0, row_factory=<function named_tuple_factory>, speculative_execution_policy=None)
124124
:members:
125125
:exclude-members: consistency_level
126126

127127
.. autoattribute:: consistency_level
128128
:annotation: = LOCAL_ONE
129129

130+
.. autoclass:: GraphExecutionProfile (load_balancing_policy=_NOT_SET, retry_policy=None, consistency_level=ConsistencyLevel.LOCAL_ONE, serial_consistency_level=None, request_timeout=30.0, row_factory=<function graph_object_row_factory>, graph_options=None, continuous_paging_options=_NOT_SET)
131+
:members:
132+
133+
.. autoclass:: GraphAnalyticsExecutionProfile (load_balancing_policy=None, retry_policy=None, consistency_level=ConsistencyLevel.LOCAL_ONE, serial_consistency_level=None, request_timeout=3600. * 24. * 7., row_factory=<function graph_object_row_factory>, graph_options=None)
134+
:members:
135+
130136
.. autodata:: EXEC_PROFILE_DEFAULT
131137
:annotation:
132138

0 commit comments

Comments
 (0)