Skip to content

Commit 9ae78d3

Browse files
refactor: Correcting typo in variable declaration (googleapis#128)
Change is backward compatible as the class is for internal use. Co-authored-by: Averi Kitsch <[email protected]>
1 parent bf2903a commit 9ae78d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/langchain_google_spanner/vector_store.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def getDeleteDocumentsValueParameters(self, columns, values) -> Dict[str, Any]:
139139
)
140140

141141

142-
class GoogleSqlSemnatics(DialectSemantics):
142+
class GoogleSqlSemantics(DialectSemantics):
143143
"""
144144
Implementation of dialect semantics for Google SQL.
145145
"""
@@ -163,7 +163,7 @@ def getDeleteDocumentsValueParameters(self, columns, values) -> Dict[str, Any]:
163163
return dict(zip(columns, values))
164164

165165

166-
class PGSqlSemnatics(DialectSemantics):
166+
class PGSqlSemantics(DialectSemantics):
167167
"""
168168
Implementation of dialect semantics for PostgreSQL.
169169
"""
@@ -499,11 +499,11 @@ def __init__(
499499

500500
self._database.reload()
501501

502-
self._dialect_semantics: DialectSemantics = GoogleSqlSemnatics()
502+
self._dialect_semantics: DialectSemantics = GoogleSqlSemantics()
503503
types = self.GSQL_TYPES
504504

505505
if self._database.database_dialect == DatabaseDialect.POSTGRESQL:
506-
self._dialect_semantics = PGSqlSemnatics()
506+
self._dialect_semantics = PGSqlSemantics()
507507
types = self.PGSQL_TYPES
508508

509509
if not self._database.exists():

0 commit comments

Comments
 (0)