Refactored Owncast clients to share a private HTTP transport helper instead of inheritance.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 6s
CI / Tests (Python 3.12) (push) Successful in 14s
CI / Tests (Python 3.13) (push) Successful in 14s
CI / Tests (Python 3.14) (push) Successful in 13s
CI / Type Checking (push) Successful in 11s
CI / Spelling (push) Successful in 9s

This commit is contained in:
2026-04-22 11:17:23 -04:00
parent bd5383b6ae
commit 078e02d1c0
6 changed files with 232 additions and 146 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ This package provides all the APIs modules use to interact with Owlbot:
(re-exported from registries)
"""
# Event types and dataclasses (pure data).
# Module-scoped service wrappers (re-exported from registries).
from owlbot.owncast_http import OwncastError
from owlbot.registries.commands import ModuleCommands
from owlbot.registries.events import ModuleEvents
from owlbot.registries.routes import ModuleRoutes
@@ -97,7 +97,7 @@ from .owncast_admin_client import (
)
# Owncast client.
from .owncast_client import OwncastClient, OwncastError
from .owncast_client import OwncastClient
# HTTP routes (module-facing).
from .routes import (