Skip to content

Commit

Permalink
update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodanswer committed Nov 6, 2024
1 parent 0e43c2b commit 04e4688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/danswer/db/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from datetime import datetime
from typing import Any
from typing import ContextManager
from typing import Sentinel

import jwt
from fastapi import HTTPException
Expand Down Expand Up @@ -324,7 +323,8 @@ async def get_async_session_with_tenant(
yield session


_DEFAULT = Sentinel("_DEFAULT")
# Sentinel object to represent the default value
_DEFAULT = object()


@contextmanager
Expand Down

0 comments on commit 04e4688

Please sign in to comment.