From 8da82e9ed55d363fb963b95e9b96fac79e6c1bb8 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 20 Nov 2020 13:47:23 -0500 Subject: [PATCH] Add workaround for Shoobx/mypy-zope#26. --- src/allmydata/web/private.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/allmydata/web/private.py b/src/allmydata/web/private.py index fea058405..a86c869c4 100644 --- a/src/allmydata/web/private.py +++ b/src/allmydata/web/private.py @@ -61,7 +61,11 @@ class IToken(ICredentials): pass -@implementer(IToken) +# Shoobx/mypy-zope#26 +_itoken_impl = implementer(IToken) + + +@_itoken_impl @attr.s class Token(object): proposed_token = attr.ib(type=bytes)