[+] improve POST:/payload
1. fix get_or_create parameters; 2. TODO, check existence before calling summarizer, return schema for rest api with result and its id;
This commit is contained in:
parent
a5b19cfe2a
commit
81be8abc50
@ -45,7 +45,7 @@ RUN \
|
||||
--break-system-packages \
|
||||
--no-index \
|
||||
-f releases/whl \
|
||||
'online.fxreader.pr34.test_task_2025_07_17_v2==0.1.13'
|
||||
'online.fxreader.pr34.test_task_2025_07_17_v2==0.1.15'
|
||||
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
CMD [ \
|
||||
|
2
deps/test-task-2025-07-17-v2/pyproject.toml
vendored
2
deps/test-task-2025-07-17-v2/pyproject.toml
vendored
@ -9,7 +9,7 @@ classifiers = [
|
||||
]
|
||||
|
||||
name = 'online.fxreader.pr34.test_task_2025_07_17_v2'
|
||||
version = '0.1.13'
|
||||
version = '0.1.15'
|
||||
|
||||
dependencies = [
|
||||
'alembic',
|
||||
|
8
deps/test-task-2025-07-17-v2/python/online/fxreader/pr34/test_task_2025_07_17_v2/payloads/logic.py
vendored
8
deps/test-task-2025-07-17-v2/python/online/fxreader/pr34/test_task_2025_07_17_v2/payloads/logic.py
vendored
@ -28,9 +28,11 @@ async def payload_get_or_create(
|
||||
return await get_or_create(
|
||||
session,
|
||||
Payload,
|
||||
output=output,
|
||||
list_1=list_1,
|
||||
list_2=list_2,
|
||||
create_method_kwargs=dict(
|
||||
output=output,
|
||||
list_1=list_1,
|
||||
list_2=list_2,
|
||||
),
|
||||
input_hash=input_hash,
|
||||
)
|
||||
|
||||
|
BIN
deps/test-task-2025-07-17-v2/releases/whl/online_fxreader_pr34_test_task_2025_07_17_v2-0.1.14-py3-none-any.whl
(Stored with Git LFS)
vendored
Normal file
BIN
deps/test-task-2025-07-17-v2/releases/whl/online_fxreader_pr34_test_task_2025_07_17_v2-0.1.14-py3-none-any.whl
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
BIN
deps/test-task-2025-07-17-v2/releases/whl/online_fxreader_pr34_test_task_2025_07_17_v2-0.1.15-py3-none-any.whl
(Stored with Git LFS)
vendored
Normal file
BIN
deps/test-task-2025-07-17-v2/releases/whl/online_fxreader_pr34_test_task_2025_07_17_v2-0.1.15-py3-none-any.whl
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user