Enable strict mode for getting pin widget value. An AssertionError will be raised when try to get value of pin widgets that are currently not in the page.
(self)
| 291 | _strict = False |
| 292 | |
| 293 | def use_strict(self): |
| 294 | """ |
| 295 | Enable strict mode for getting pin widget value. |
| 296 | An AssertionError will be raised when try to get value of pin widgets that are currently not in the page. |
| 297 | """ |
| 298 | object.__setattr__(self, '_strict', True) |
| 299 | |
| 300 | def __getattr__(self, name: str): |
| 301 | """__getattr__ is only invoked if the attribute wasn't found the usual ways""" |
nothing calls this directly
no test coverage detected