Initialize the ZenML Store. Returns: The ZenML Store. Raises: RuntimeError: If the ZenML Store has not been initialized.
()
| 110 | |
| 111 | |
| 112 | def zen_store() -> "SqlZenStore": |
| 113 | """Initialize the ZenML Store. |
| 114 | |
| 115 | Returns: |
| 116 | The ZenML Store. |
| 117 | |
| 118 | Raises: |
| 119 | RuntimeError: If the ZenML Store has not been initialized. |
| 120 | """ |
| 121 | global _zen_store |
| 122 | if _zen_store is None: |
| 123 | raise RuntimeError("ZenML Store not initialized") |
| 124 | return _zen_store |
| 125 | |
| 126 | |
| 127 | def rbac() -> RBACInterface: |
no outgoing calls
no test coverage detected