You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the Request class provided by sanic has a __repr__ method that performs an unnecessary None check on method and path and there it is not possible that they can be None. We can remove these condition checks and have a much simpler __repr__ implementation.
Description
The current implementation of the
Request
class provided bysanic
has a__repr__
method that performs an unnecessaryNone
check onmethod
andpath
and there it is not possible that they can beNone
. We can remove these condition checks and have a much simpler__repr__
implementation.Reference
__repr__
implementationThe text was updated successfully, but these errors were encountered: