mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 06:42:26 +00:00
Suppress type check error on NativeStorageServerWithVersion
This commit is contained in:
parent
ffa19d1c07
commit
53ff740f0e
@ -90,7 +90,12 @@ from allmydata.interfaces import (
|
||||
|
||||
SOME_FURL = b"pb://abcde@nowhere/fake"
|
||||
|
||||
class NativeStorageServerWithVersion(NativeStorageServer):
|
||||
|
||||
# type checks fail with:
|
||||
# Cannot determine consistent method resolution order (MRO) for "NativeStorageServerWithVersion"
|
||||
# even though class hierarchy is single-inheritance. Probably `implementer`
|
||||
# wrappers are affecting the MRO.
|
||||
class NativeStorageServerWithVersion(NativeStorageServer): # type: ignore
|
||||
def __init__(self, version):
|
||||
# note: these instances won't work for anything other than
|
||||
# get_available_space() because we don't upcall
|
||||
|
Loading…
Reference in New Issue
Block a user