mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-04 03:31:23 +02:00
silence
This commit is contained in:
@ -365,9 +365,6 @@ def set_search_path_on_checkout(
|
|||||||
if tenant_id and is_valid_schema_name(tenant_id):
|
if tenant_id and is_valid_schema_name(tenant_id):
|
||||||
with dbapi_conn.cursor() as cursor:
|
with dbapi_conn.cursor() as cursor:
|
||||||
cursor.execute(f'SET search_path TO "{tenant_id}"')
|
cursor.execute(f'SET search_path TO "{tenant_id}"')
|
||||||
logger.trace(
|
|
||||||
f"Set search_path to {tenant_id} for connection {connection_record}"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def get_session_generator_with_tenant() -> Generator[Session, None, None]:
|
def get_session_generator_with_tenant() -> Generator[Session, None, None]:
|
||||||
|
Reference in New Issue
Block a user