(self)
| 82 | return ctx_info.get_active(required=required) |
| 83 | |
| 84 | def __enter__(self): |
| 85 | for cls in _get_managed_classes(self): |
| 86 | _context_registry().get(cls).enter(self) |
| 87 | return self |
| 88 | |
| 89 | def __exit__(self, *args): |
| 90 | for cls in _get_managed_classes(self): |
nothing calls this directly
no test coverage detected