fix(TaskProcessing): types for TaskProcessingProvider#346
fix(TaskProcessing): types for TaskProcessingProvider#346lukasdotcom wants to merge 1 commit intocloud-py-api:mainfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #346 +/- ##
=======================================
Coverage 94.52% 94.52%
=======================================
Files 46 46
Lines 5389 5389
=======================================
Hits 5094 5094
Misses 295 295
🚀 New features to boost your workflow:
|
|
Adding to this that the server side validation might also be wrong, it actually wants: dict[str, list[ShapeDescriptor]]If you look into the nextcloud server though the type definition for getOptionalInputShape is what I based the type on: ShapeDescriptor[]
[
'images' => new ShapeDescriptor(
$this->l->t('Output images'),
$this->l->t('The generated images'),
EShapeType::ListOfImages
),
]If it is |
|
hello, |
|
Implemented fix in AppApi at nextcloud/app_api#548 |
|
Discussed with Marcel. So let's close this PR and fix the checks in the app_api repo for the What do you think about it? |
|
That sounds good |
Currently the types for optional_input_shape and probably also optional_output_shape are different on the nextcloud server and how they are defined in this package.
Before:
After: