Skip to content

Commit cb567dd

Browse files
author
matmoncon
committed
chore: pylint
1 parent 8f8af8a commit cb567dd

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

pyneo4j_ogm/core/node.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,8 @@ def _build_auto_fetch(
10301030
10311031
Args:
10321032
nodes_to_fetch (List[Union[str, Type["NodeModel"]]] | None): The nodes to fetch. Can contain the actual
1033-
model of the node or the model name as a string. If `None`, all nodes will be fetched. Defaults to `None`.
1033+
model of the node or the model name as a string. If `None`, all nodes will be fetched. Defaults to
1034+
`None`.
10341035
ref (str, optional): The reference to use for the node. Defaults to "n".
10351036
10361037
Returns:

pyneo4j_ogm/fields/relationship_property.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,9 @@ class RelationshipProperty(Generic[T, U]):
179179
Class used to define relationships between the model this class is used on and a target model, which defines the
180180
other end of the relationship.
181181
182-
Accepts two generic types, the first being the target node and the second being the relationship model. For type support
183-
when using a relationship-property, these generics have to be provided since they can not be inferred automatically.
182+
Accepts two generic types, the first being the target node and the second being the relationship model. For type
183+
support when using a relationship-property, these generics have to be provided since they can not be inferred
184+
automatically.
184185
"""
185186

186187
_client: Pyneo4jClient
@@ -219,8 +220,9 @@ def __init__(
219220
Class used to define relationships between the model this class is used on and a target model, which defines the
220221
other end of the relationship.
221222
222-
Accepts two generic types, the first being the target node and the second being the relationship model. For type support
223-
when using a relationship-property, these generics have to be provided since they can not be inferred automatically.
223+
Accepts two generic types, the first being the target node and the second being the relationship model. For type
224+
support when using a relationship-property, these generics have to be provided since they can not be inferred
225+
automatically.
224226
225227
Args:
226228
target_model (Type[T] | str): The model which is the target of the relationship. Can be a
@@ -691,7 +693,8 @@ async def find_connected_nodes(
691693
Finds all nodes that matches `filters` and are connected to the source node.
692694
693695
Args:
694-
filters (RelationshipPropertyFilters | None, optional): Expressions applied to the query. Defaults to `None`.
696+
filters (RelationshipPropertyFilters | None, optional): Expressions applied to the query. Defaults to
697+
`None`.
695698
projections (Projection, optional): The properties to project from the node. A invalid or empty
696699
projection will result in the whole model instances being returned. Defaults to `None`.
697700
options (QueryOptions | None, optional): Options for modifying the query result. Defaults to `None`.

0 commit comments

Comments
 (0)