Skip to content

Commit

Permalink
lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
vichayturen committed Dec 18, 2024
1 parent d770a21 commit 48a3bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def simple_schema(schema: Dict[str, Any]) -> Dict[str, Any]:


def create_text2gremlin_block() -> Tuple:
gr.Markdown("""## Build Vector Template Index (Optional)
gr.Markdown("""## Build Vector Template Index (Optional)
> Uploaded CSV file should be in `query,gremlin` format below:
> e.g. `who is peter?`,`g.V().has('name', 'peter')`
> JSON file should be in format below:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def run(self, context: Dict[str, Any]) -> Dict[str, Any]:
if result == [None]:
result = []
context["graph_result"] = [json.dumps(item, ensure_ascii=False) for item in result]
except Exception as e:
except Exception as e: # pylint: disable=broad-exception-caught
log.error(e)

if context.get("graph_result"):
Expand Down

0 comments on commit 48a3bb6

Please sign in to comment.