1
0
mirror of https://github.com/tensorchord/pgvecto.rs.git synced 2025-07-29 08:21:12 +03:00

chore: isort things (#127)

Signed-off-by: 盐粒 Yanli <mail@yanli.one>
This commit is contained in:
盐粒 Yanli
2023-11-10 13:27:31 +08:00
committed by GitHub
parent 0efe49d976
commit 94ef38cf78
9 changed files with 46 additions and 36 deletions

View File

@ -1,6 +1,8 @@
import os
import psycopg
import numpy as np
import psycopg
from pgvecto_rs.psycopg import register_vector
URL = "postgresql://{username}:{password}@{host}:{port}/{db_name}".format(

View File

@ -1,9 +1,10 @@
import os
import numpy as np
from sqlalchemy import create_engine, select, insert
from sqlalchemy import Integer, String
from sqlalchemy import Integer, String, create_engine, insert, select
from sqlalchemy.orm import DeclarativeBase, Mapped, Session, mapped_column
from pgvecto_rs.sqlalchemy import Vector
from sqlalchemy.orm import Session, DeclarativeBase, mapped_column, Mapped
URL = "postgresql+psycopg://{username}:{password}@{host}:{port}/{db_name}".format(
port=os.getenv("DB_PORT", 5432),