[+] 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 \
|
--break-system-packages \
|
||||||
--no-index \
|
--no-index \
|
||||||
-f releases/whl \
|
-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", "--"]
|
ENTRYPOINT ["tini", "--"]
|
||||||
CMD [ \
|
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'
|
name = 'online.fxreader.pr34.test_task_2025_07_17_v2'
|
||||||
version = '0.1.13'
|
version = '0.1.15'
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
'alembic',
|
'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(
|
return await get_or_create(
|
||||||
session,
|
session,
|
||||||
Payload,
|
Payload,
|
||||||
output=output,
|
create_method_kwargs=dict(
|
||||||
list_1=list_1,
|
output=output,
|
||||||
list_2=list_2,
|
list_1=list_1,
|
||||||
|
list_2=list_2,
|
||||||
|
),
|
||||||
input_hash=input_hash,
|
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