mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-05 21:51:45 +00:00
This pacifies mypy regarding treq/StubTreq for me
Lots of trial and error, incl. trying the latest treq which ships type annotations... in the end I just removed the stuff mypy was complaining about and it made the errors go away. Can it be as simple as that?
This commit is contained in:
parent
6cf67471f1
commit
4f20612f3c
@ -434,7 +434,7 @@ class StorageClient(object):
|
||||
# The URL should be a HTTPS URL ("https://...")
|
||||
_base_url: DecodedURL
|
||||
_swissnum: bytes
|
||||
_treq: Union[treq, StubTreq, HTTPClient]
|
||||
_treq: HTTPClient
|
||||
_pool: HTTPConnectionPool
|
||||
_clock: IReactorTime
|
||||
# Are we running unit tests?
|
||||
|
Loading…
x
Reference in New Issue
Block a user