Skip to content

Add Product to the ZGW API registration #11260

Add Product to the ZGW API registration

Add Product to the ZGW API registration #11260

Re-run triggered November 13, 2024 08:31
Status Failure
Total duration 45s
Artifacts

code_quality.yml

on: pull_request
Check import sorting
57s
Check import sorting
Check code formatting with black
55s
Check code formatting with black
Code style (flake8)
35s
Code style (flake8)
Check for model changes not present in the migrations or default_admin_index fixture
1m 21s
Check for model changes not present in the migrations or default_admin_index fixture
Lint dependencies
7s
Lint dependencies
Type checking (Pyright)
32s
Type checking (Pyright)
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Type checking (Pyright): src/openforms/registrations/contrib/zgw_apis/api/views.py#L116
Expression of type "builtins.list[openforms.contrib.zgw.clients.catalogi.Product]" is incompatible with declared type "builtins.list[openforms.registrations.contrib.zgw_apis.api.views.Product]"   "builtins.list" is incompatible with "builtins.list"     Type parameter "_T@list" is invariant, but "openforms.contrib.zgw.clients.catalogi.Product" is not the same as "openforms.registrations.contrib.zgw_apis.api.views.Product"     Consider switching from "list" to "Sequence" which is covariant (reportAssignmentType)
Type checking (Pyright)
1 error
Type checking (Pyright)
The following actions use a deprecated Node.js version and will be forced to run on node20: jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/