Skip to content

Use code generation instead of calling Signature.build_request? #144

@eigenein

Description

@eigenein

Currently, each backend is forced to call Signature.build_request for every call:

request = signature.build_request(Request, self, args, kwargs)

I'm wondering if instead it could generate a «request builder», which would be generated once and contain calls to all the markers. The same applies to apply_response_markers:

return signature.apply_response_markers(response, payload, response_type)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions