mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-24 03:52:10 +00:00
infra: add -p to mkdir in lint steps (#17013)
Previously, if this did not find a mypy cache then it wouldnt run this makes it always run adding mypy ignore comments with existing uncaught issues to unblock other prs --------- Co-authored-by: Erick Friis <erick@langchain.dev> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
This commit is contained in:
@@ -31,7 +31,7 @@ class TigerGraph(GraphStore):
|
||||
def schema(self) -> Dict[str, Any]:
|
||||
return self._schema
|
||||
|
||||
def get_schema(self) -> str:
|
||||
def get_schema(self) -> str: # type: ignore[override]
|
||||
if self._schema:
|
||||
return str(self._schema)
|
||||
else:
|
||||
@@ -71,10 +71,10 @@ class TigerGraph(GraphStore):
|
||||
"""
|
||||
return self._conn.getSchema(force=True)
|
||||
|
||||
def refresh_schema(self):
|
||||
def refresh_schema(self): # type: ignore[no-untyped-def]
|
||||
self.generate_schema()
|
||||
|
||||
def query(self, query: str) -> Dict[str, Any]:
|
||||
def query(self, query: str) -> Dict[str, Any]: # type: ignore[override]
|
||||
"""Query the TigerGraph database."""
|
||||
answer = self._conn.ai.query(query)
|
||||
return answer
|
||||
|
Reference in New Issue
Block a user