summaryrefslogtreecommitdiff
path: root/src/buildstream/_cas/casremote.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_cas/casremote.py')
-rw-r--r--src/buildstream/_cas/casremote.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/_cas/casremote.py b/src/buildstream/_cas/casremote.py
index 23240c6f7..9cc1a5488 100644
--- a/src/buildstream/_cas/casremote.py
+++ b/src/buildstream/_cas/casremote.py
@@ -62,7 +62,8 @@ class CASRemoteSpec(namedtuple('CASRemoteSpec', 'url push server_cert client_key
return CASRemoteSpec(url, push, server_cert, client_key, client_cert, instance_name)
-CASRemoteSpec.__new__.__defaults__ = (None, None, None, None)
+# Disable type-checking since "Callable[...] has no attributes __defaults__"
+CASRemoteSpec.__new__.__defaults__ = (None, None, None, None) # type: ignore
class BlobNotFound(CASRemoteError):