We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a92e69e commit 489377cCopy full SHA for 489377c
pyglove/core/symbolic/base.py
@@ -685,7 +685,7 @@ def bar():
685
not including the stack frame inside ``sym_setorigin``.
686
"""
687
if self.sym_origin is not None:
688
- current_source = self.sym_origin.source
+ current_source = self.sym_origin.source # pytype: disable=attribute-error # always-use-property-annotation
689
if current_source is not None and current_source is not source:
690
raise ValueError(
691
f'Cannot set the origin with a different source value. '
0 commit comments