Skip to content

externaltask request_error_details does not use same requests session as other calls #41

@hoopes

Description

@hoopes

Hello,

I'm using a custom requests.Session that has authentication pre-applied. When using external task Get or GetList, the default is for request_error_details to be True, which uses requests.get and not the session. For me, this caused a 401 error, since it did not send the authentication from the session.

https://github.com/pklauke/pycamunda/blob/master/pycamunda/externaltask.py#L120
https://github.com/pklauke/pycamunda/blob/master/pycamunda/externaltask.py#L269

Thanks, love the lib!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions