(self, f, **kw)
| 1772 | return Foo, Bar |
| 1773 | |
| 1774 | def _someattr_history(self, f, **kw): |
| 1775 | passive = kw.pop("passive", None) |
| 1776 | if passive is True: |
| 1777 | kw["passive"] = attributes.PASSIVE_NO_INITIALIZE |
| 1778 | elif passive is False: |
| 1779 | kw["passive"] = attributes.PASSIVE_OFF |
| 1780 | |
| 1781 | return attributes.get_state_history( |
| 1782 | attributes.instance_state(f), "someattr", **kw |
| 1783 | ) |
| 1784 | |
| 1785 | def _commit_someattr(self, f): |
| 1786 | attributes.instance_state(f)._commit( |
no test coverage detected