From 559c4051718fe4c672e190a647e6c30e24b2cd5a Mon Sep 17 00:00:00 2001 From: Rebecca Chen Date: Mon, 30 Jan 2023 11:59:40 -0800 Subject: [PATCH] Silence some pytype errors. PiperOrigin-RevId: 505759402 --- pyglove/core/typing/value_specs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyglove/core/typing/value_specs.py b/pyglove/core/typing/value_specs.py index 9be27f2..e1df134 100644 --- a/pyglove/core/typing/value_specs.py +++ b/pyglove/core/typing/value_specs.py @@ -163,7 +163,7 @@ def extend(self, base: ValueSpec) -> ValueSpec: if not base.is_noneable and self._is_noneable: raise TypeError(f'{self!r} cannot extend {base!r}: ' f'None is not allowed in base spec.') - self._extend(base) + self._extend(base) # pytype: disable=wrong-arg-types # always-use-return-annotations return self def _extend(self, base: ValueSpec) -> None: