35: Had to show an example of using mocks in a unittest. Thought to m… #75
Annotations
9 errors and 1 warning
run typechecker:
unit_test/test_main.py#L191
error: Need type annotation for "params_dict" (hint: "params_dict: Dict[<type>, <type>] = ...") [var-annotated]
|
run typechecker:
unit_test/test_main.py#L197
error: Argument "params_dict" to "JobSubmission" has incompatible type "dict[Any, Any]"; expected "Struct | None" [arg-type]
|
run typechecker:
unit_test/test_main.py#L251
error: Need type annotation for "params_dict" (hint: "params_dict: Dict[<type>, <type>] = ...") [var-annotated]
|
run typechecker:
unit_test/test_main.py#L257
error: Argument "params_dict" to "JobSubmission" has incompatible type "dict[Any, Any]"; expected "Struct | None" [arg-type]
|
run typechecker:
unit_test/test_main.py#L305
error: Need type annotation for "params_dict" (hint: "params_dict: Dict[<type>, <type>] = ...") [var-annotated]
|
run typechecker:
unit_test/test_main.py#L311
error: Argument "params_dict" to "JobSubmission" has incompatible type "dict[Any, Any]"; expected "Struct | None" [arg-type]
|
run typechecker:
unit_test/test_main.py#L354
error: Need type annotation for "params_dict" (hint: "params_dict: Dict[<type>, <type>] = ...") [var-annotated]
|
run typechecker:
unit_test/test_main.py#L360
error: Argument "params_dict" to "JobSubmission" has incompatible type "dict[Any, Any]"; expected "Struct | None" [arg-type]
|
run typechecker
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading