Add Product to the ZGW API registration #11260
Annotations
2 errors and 1 warning
Run jakebailey/pyright-action@v1:
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)
|
Run jakebailey/pyright-action@v1
1 error
|
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/
|
Loading