Skip to content

respect Application(log_request=False) attribute#176

Open
homm wants to merge 1 commit intosqueaky-pl:masterfrom
homm:patch-1
Open

respect Application(log_request=False) attribute#176
homm wants to merge 1 commit intosqueaky-pl:masterfrom
homm:patch-1

Conversation

@homm
Copy link

@homm homm commented Jul 19, 2020

Otherwise, the following code is required:

class Application(Application):
    @property
    def _log_request(self):
        return False

    @_log_request.setter
    def _log_request(self, value):
        pass
    

app = Application(log_request=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants