chore: fix indention violations by applying E111 to E117 ruff rules (#4925)
This commit is contained in:
parent
6b6afb7708
commit
f32b440c4a
14 changed files with 73 additions and 61 deletions
|
|
@ -54,7 +54,7 @@ class PGVectoRS(BaseVector):
|
|||
|
||||
class _Table(CollectionORM):
|
||||
__tablename__ = collection_name
|
||||
__table_args__ = {"extend_existing": True} # noqa: RUF012
|
||||
__table_args__ = {"extend_existing": True}
|
||||
id: Mapped[UUID] = mapped_column(
|
||||
postgresql.UUID(as_uuid=True),
|
||||
primary_key=True,
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ class RelytVector(BaseVector):
|
|||
conn.execute(chunks_table.delete().where(delete_condition))
|
||||
return True
|
||||
except Exception as e:
|
||||
print("Delete operation failed:", str(e)) # noqa: T201
|
||||
print("Delete operation failed:", str(e))
|
||||
return False
|
||||
|
||||
def delete_by_metadata_field(self, key: str, value: str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue