mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Revert "Bump cherrypy from 18.8.0 to 18.9.0 (#2266)"
This reverts commit faef9a94c4
.
This commit is contained in:
parent
fcd8ef11f4
commit
2fc618c01f
673 changed files with 11579 additions and 159846 deletions
|
@ -1,19 +0,0 @@
|
|||
class ValidateCallWrapperWrapper:
|
||||
def __init__(self, wrapped):
|
||||
self.orig = wrapped
|
||||
|
||||
def __eq__(self, other):
|
||||
return self.raw_function == other.raw_function
|
||||
|
||||
@property
|
||||
def raw_function(self):
|
||||
return getattr(self.orig, 'raw_function') or self.orig
|
||||
|
||||
|
||||
def same_method(m1, m2) -> bool:
|
||||
"""
|
||||
Return whether m1 and m2 are the same method.
|
||||
|
||||
Workaround for pydantic/pydantic#6390.
|
||||
"""
|
||||
return ValidateCallWrapperWrapper(m1) == ValidateCallWrapperWrapper(m2)
|
Loading…
Add table
Add a link
Reference in a new issue