Closed danbailo closed 1 year ago
Please fix failing test cases
=========================== short test summary info ============================
ERROR camunda/client/tests/test_engine_client.py - TypeError: 'type' object is not subscriptable
ERROR camunda/client/tests/test_engine_client_auth.py - TypeError: 'type' object is not subscriptable
ERROR camunda/client/tests/test_engine_client_bearer.py - TypeError: 'type' object is not subscriptable
ERROR camunda/client/tests/test_external_task_client.py - TypeError: 'type' object is not subscriptable
ERROR camunda/client/tests/test_external_task_client_auth.py - TypeError: 'type' object is not subscriptable
ERROR camunda/client/tests/test_external_task_client_bearer.py - TypeError: 'type' object is not subscriptable
ERROR camunda/external_task/tests/test_external_task_executor.py - TypeError: 'type' object is not subscriptable
ERROR camunda/external_task/tests/test_external_task_worker.py - TypeError: 'type' object is not subscriptable
ERROR camunda/process_definition/tests/test_process_definition_client.py - TypeError: 'type' object is not subscriptable
ERROR camunda/utils/tests/test_auth_bearer.py - TypeError: 'type' object is not subscriptable
!!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection !!!!!!!!!!!!!!!!!!!
solved @yogeshrnaik , was a problem with typehinting because old python version.
This PR implements the authorization using bearer token.
The user only should pass the access token to client property.
When the request object is an
OAuth2Session