Skip to content

Commit b7c13ce

Browse files
committed
Fix black
1 parent 14aca3d commit b7c13ce

7 files changed

+9
-3
lines changed

core_backend/app/llm_call/parse_input.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ async def _classify_safety(
7777
error_type=ErrorType.QUERY_UNSAFE,
7878
)
7979
error_response.debug_info.update(response.debug_info)
80-
error_response.debug_info[
81-
"safety_classification"
82-
] = safety_classification.value
80+
error_response.debug_info["safety_classification"] = (
81+
safety_classification.value
82+
)
8383
error_response.debug_info["query_text"] = question.query_text
8484
logger.info(
8585
(

core_backend/migrations/versions/42fe00da1c48_create_feedback_table.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2023-09-18 06:07:06.316009
66
77
"""
8+
89
from typing import Sequence, Union
910

1011
import sqlalchemy as sa

core_backend/migrations/versions/56b62dbe2d89_create_whatsapp_tables.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2023-11-07 18:26:51.842395
66
77
"""
8+
89
from typing import Sequence, Union
910

1011
import sqlalchemy as sa

core_backend/migrations/versions/8929d5c246e7_add_llm_response_column.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2023-10-20 18:54:03.570127
66
77
"""
8+
89
from typing import Sequence, Union
910

1011
import sqlalchemy as sa

core_backend/migrations/versions/9eaf63e424ea_create_error_table.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2024-01-22 21:45:29.559047
66
77
"""
8+
89
from typing import Sequence, Union
910

1011
import sqlalchemy as sa

core_backend/migrations/versions/c5a948963236_create_user_queries_table.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2023-09-16 05:10:04.048830
66
77
"""
8+
89
from typing import Sequence, Union
910

1011
import sqlalchemy as sa

core_backend/migrations/versions/cda1098017b5_create_query_responses_table.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Create Date: 2023-10-12 10:24:41.889026
66
77
"""
8+
89
from typing import Sequence, Union
910

1011
import sqlalchemy as sa

0 commit comments

Comments
 (0)