update template #5
Closed
GitHub Actions / JUnit Test Report
failed
Oct 21, 2025 in 0s
1 tests run, 0 passed, 0 skipped, 1 failed.
Annotations
Check failure on line 1 in .venv/lib/python3.13/site-packages/mypy/xml/mypy.xsd
github-actions / JUnit Test Report
mypy.mypy-py3_13-linux
mypy produced messages
Raw output
cmem_plugin_salesforce/workflow/operations.py:112: error: Need type annotation for "results" (hint: "results: list[<type>] = ...") [var-annotated]
cmem_plugin_salesforce/workflow/operations.py:152: error: "SFBulkType" not callable [operator]
cmem_plugin_salesforce/workflow/operations.py:152: error: "SFBulk2Type" not callable [operator]
cmem_plugin_salesforce/workflow/operations.py:182: error: Item "SFType" of "SFBulkHandler | SFBulk2Handler | SFType" has no attribute "__getattr__" [union-attr]
cmem_plugin_salesforce/workflow/operations.py:182: error: Incompatible types in assignment (expression has type "SFBulkType | SFBulk2Type | Any", variable has type "SFBulkType") [assignment]
cmem_plugin_salesforce/workflow/operations.py:186: error: Argument "data" to "upsert" of "SFBulkType" has incompatible type "list[dict[Any, str]]"; expected "list[Mapping[str, Any]]" [arg-type]
cmem_plugin_salesforce/workflow/operations.py:186: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
cmem_plugin_salesforce/workflow/operations.py:186: note: Consider using "Sequence" instead, which is covariant
tests/test_crud.py:39: error: Item "SFType" of "SFBulkHandler | SFBulk2Handler | SFType" has no attribute "Lead" [union-attr]
tests/test_crud.py:39: error: Unexpected keyword argument "use_serial" for "delete" of "SFBulk2Type" [call-arg]
tests/test_crud.py:39: error: Argument 1 to "delete" of "SFBulkType" has incompatible type "list[dict[str, Any]]"; expected "list[Mapping[str, str]]" [arg-type]
tests/test_crud.py:39: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
tests/test_crud.py:39: note: Consider using "Sequence" instead, which is covariant
.venv/lib/python3.13/site-packages/simple_salesforce/bulk2.py:1008: note: "delete" of "SFBulk2Type" defined here
tests/test_crud.py:39: error: Argument 1 to "delete" of "SFBulk2Type" has incompatible type "list[dict[str, Any]]"; expected "str | None" [arg-type]
tests/test_crud.py:70: error: Argument 1 to "execute" of "SoqlQuery" has incompatible type "None"; expected "Sequence[Any]" [arg-type]
Loading