Skip to content

Allow for patch_request to return a list of requests #556

Description

@HCookie

At the moment, patch_request takes a dict and returns a dict, this works if only one key needs to be changed, but if multiple, it might not be possible to return a valid request.
If the patch_request could return a list of dicts, this could be solved.

# Patch BEFORE the shortname to paramid
if patch_request:
r = patch_request(r)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    To be triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions