@@ -67,7 +67,7 @@ def node_filters(self, filters: NodeFilters, ref: str = "n") -> None:
6767
6868 Args:
6969 filters (Dict[str, Any]): The filters to build.
70- ref (str, optional): The reference to the node. Defaults to "n" .
70+ ref (str, optional): The reference to the node. Defaults to `'n'` .
7171 """
7272 logger .debug ("Building node filters %s" , filters )
7373 self ._operator_builder .ref = ref
@@ -94,7 +94,7 @@ def relationship_filters(self, filters: RelationshipFilters, ref: str = "r") ->
9494
9595 Args:
9696 filters (Dict[str, Any]): The filters to build.
97- ref (str, optional): The reference to the relationship. Defaults to "r" .
97+ ref (str, optional): The reference to the relationship. Defaults to `'r'` .
9898 """
9999 logger .debug ("Building relationship filters %s" , filters )
100100 self ._operator_builder .ref = ref
@@ -123,8 +123,8 @@ def relationship_property_filters(
123123
124124 Args:
125125 filters (Dict[str, Any]): The filters to build.
126- ref (str, optional): The reference to the relationship. Defaults to "r" .
127- node_ref (str, optional): The reference to the node. Defaults to " end" .
126+ ref (str, optional): The reference to the relationship. Defaults to `'r'` .
127+ node_ref (str, optional): The reference to the node. Defaults to `' end'` .
128128 """
129129 logger .debug ("Building relationship property filters %s" , filters )
130130 self ._operator_builder .reset_state ()
@@ -160,9 +160,9 @@ def multi_hop_filters(
160160
161161 Args:
162162 filters (Dict[str, Any]): The filters to build.
163- start_ref (str, optional): The reference to the start node. Defaults to "n" .
164- end_ref (str, optional): The reference to the end node. Defaults to "m" .
165- rel_ref (str, optional): The reference to the relationship. Defaults to "r" .
163+ start_ref (str, optional): The reference to the start node. Defaults to `'n'` .
164+ end_ref (str, optional): The reference to the end node. Defaults to `'m'` .
165+ rel_ref (str, optional): The reference to the relationship. Defaults to `'r'` .
166166 """
167167 logger .debug ("Building multi hop filters %s" , filters )
168168 self ._operator_builder .ref = start_ref
@@ -237,7 +237,7 @@ def query_options(self, options: QueryOptions, ref: str = "n") -> None:
237237
238238 Args:
239239 options (QueryOptions): The options to build.
240- ref (str, optional): The reference to the node or relationship. Defaults to "n" .
240+ ref (str, optional): The reference to the node or relationship. Defaults to `'n'` .
241241 """
242242 logger .debug ("Building query options %s" , options )
243243
@@ -305,16 +305,16 @@ def relationship_match(
305305
306306 Args:
307307 type_ (str): The type of the relationship.
308- ref (str, optional): The reference to the relationship. Defaults to "r" .
309- start_node_ref (Optional[str], optional): The reference to the start node. Defaults to None.
310- start_node_labels (Optional[List[str]], optional): The labels of the start node. Defaults to None.
311- end_node_ref (Optional[str], optional): The reference to the end node. Defaults to None.
312- end_node_labels (Optional[List[str]], optional): The labels of the end node. Defaults to None.
313- min_hops (Optional[Union[int, str]], optional): The minimum number of hops. Defaults to None.
314- max_hops (Optional[Union[int, str]], optional): The maximum number of hops. Defaults to None.
308+ ref (str, optional): The reference to the relationship. Defaults to `'r'` .
309+ start_node_ref (Optional[str], optional): The reference to the start node. Defaults to ` None` .
310+ start_node_labels (Optional[List[str]], optional): The labels of the start node. Defaults to ` None` .
311+ end_node_ref (Optional[str], optional): The reference to the end node. Defaults to ` None` .
312+ end_node_labels (Optional[List[str]], optional): The labels of the end node. Defaults to ` None` .
313+ min_hops (Optional[Union[int, str]], optional): The minimum number of hops. Defaults to ` None` .
314+ max_hops (Optional[Union[int, str]], optional): The maximum number of hops. Defaults to ` None` .
315315
316316 Raises:
317- InvalidRelationshipHops: Raised when the min_hops or max_hops are invalid.
317+ InvalidRelationshipHops: If the min_hops or max_hops are invalid.
318318
319319 Returns:
320320 str: The relationship to match.
@@ -374,7 +374,7 @@ def build_projections(
374374 Builds a projection which only returns the node properties defined in the projection.
375375
376376 Args:
377- ref (str): The reference to the node. Defaults to "n" .
377+ ref (str): The reference to the node. Defaults to `'n'` .
378378 projections (Dict[str, str]): The projections to build.
379379 """
380380 if not isinstance (projections , dict ):
0 commit comments