Add api_call method to AdvowareService for delegating API calls

This commit is contained in:
bsiggel
2026-03-01 23:40:50 +00:00
parent 721339ca9b
commit 5c204ba16c

View File

@@ -20,6 +20,10 @@ class AdvowareService:
self.api = AdvowareAPI(context) self.api = AdvowareAPI(context)
self.context = context self.context = context
async def api_call(self, *args, **kwargs):
"""Delegate api_call to underlying AdvowareAPI"""
return await self.api.api_call(*args, **kwargs)
# ========== BETEILIGTE ========== # ========== BETEILIGTE ==========
async def get_beteiligter(self, betnr: int) -> Optional[Dict]: async def get_beteiligter(self, betnr: int) -> Optional[Dict]: