Skip to content

Cut release to include request in exempt_when? #231

@sneakers-the-rat

Description

@sneakers-the-rat

It looks like there was some work done a few years ago to pass request to a is_exempt handler here:

if self.exempt_when is None:
return False
if self._exempt_when_takes_request and request:
return self.exempt_when(request)
return self.exempt_when()

but the latest release is 0.1.9 which doesn't have it:

return self.exempt_when() if self.exempt_when is not None else False

any chance we can get an updated release that has that?

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