Check if Tortoise is initialized. Returns False if no context is active.
(cls)
| 115 | |
| 116 | @classproperty |
| 117 | def _inited(cls) -> bool: |
| 118 | """ |
| 119 | Check if Tortoise is initialized. |
| 120 | |
| 121 | Returns False if no context is active. |
| 122 | """ |
| 123 | ctx = cls._get_context() |
| 124 | return ctx.inited if ctx else False |
| 125 | |
| 126 | @classmethod |
| 127 | def is_inited(cls) -> bool: |
nothing calls this directly
no test coverage detected