Package layers models, config, storage, jobs, web, cli, held by tests/test_architecture.py with desk and pipeline as external trees and plugins/ limited to desk. roles.yaml is the default config, roledesk.db its own file, port 8790. create_app mounts pipeline.web.connect over Jobs(config.database); `roledesk job pull` drains a no-op pull and `roledesk db init` creates the file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
568 B
Python
17 lines
568 B
Python
"""Where things are kept. One door: `from roledesk.storage import Store`.
|
|
|
|
schema.py the tables, and the numbered migrations that bring an older
|
|
file to the current shape
|
|
store.py `Store`, every SQL statement in the application
|
|
|
|
Written for roledesk rather than imported from newsdesk: `desk` has no storage
|
|
package on purpose, and the connection plumbing here is a deliberate copy.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from roledesk.storage.schema import LATEST
|
|
from roledesk.storage.store import Store
|
|
|
|
__all__ = ["LATEST", "Store"]
|