Skip to content

Commit 930f13f

Browse files
committed
correct lint error!!!!
1 parent 6455ec6 commit 930f13f

File tree

1 file changed

+4
-4
lines changed
  • libs/experimental/langchain_experimental/graph_transformers

1 file changed

+4
-4
lines changed

libs/experimental/langchain_experimental/graph_transformers/llm.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ def _parse_raw_schema(self, raw_schema: Union[str, Any]) -> Any:
923923
return parsed_json
924924

925925
def _parse_relations(
926-
self, parsed_json: List[Dict[str, Any]]
926+
self, parsed_json: List[Dict[str, Any]]
927927
) -> Tuple[List[Node], List[Relationship]]:
928928
"""Parse relationships from JSON, with optional type checking."""
929929
nodes_set = {}
@@ -1011,9 +1011,9 @@ def _apply_strict_mode_filtering(
10111011
for rel in relationships
10121012
if rel.type.lower()
10131013
in [
1014-
el.lower()
1015-
if isinstance(el, str)
1016-
else tuple(item.lower() for item in el)
1014+
el.lower()
1015+
if isinstance(el, str)
1016+
else tuple(item.lower() for item in el)
10171017
for el in self.allowed_relationships
10181018
]
10191019
]

0 commit comments

Comments
 (0)