Skip to content

Commit 489377c

Browse files
rchen152pyglove authors
authored and
pyglove authors
committed
Silence some pytype errors.
PiperOrigin-RevId: 610911039
1 parent a92e69e commit 489377c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyglove/core/symbolic/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ def bar():
685685
not including the stack frame inside ``sym_setorigin``.
686686
"""
687687
if self.sym_origin is not None:
688-
current_source = self.sym_origin.source
688+
current_source = self.sym_origin.source # pytype: disable=attribute-error # always-use-property-annotation
689689
if current_source is not None and current_source is not source:
690690
raise ValueError(
691691
f'Cannot set the origin with a different source value. '

0 commit comments

Comments
 (0)