(self, fn)
| 108 | self.warns.update(other.warns) |
| 109 | |
| 110 | def __call__(self, fn): |
| 111 | if hasattr(fn, "_sa_exclusion_extend"): |
| 112 | fn._sa_exclusion_extend._extend(self) |
| 113 | return fn |
| 114 | |
| 115 | @decorator |
| 116 | def decorate(fn, *args, **kw): |
| 117 | return self._do(config._current, fn, *args, **kw) |
| 118 | |
| 119 | decorated = decorate(fn) |
| 120 | decorated._sa_exclusion_extend = self |
| 121 | return decorated |
| 122 | |
| 123 | @contextlib.contextmanager |
| 124 | def fail_if(self): |