Add api_call method to AdvowareService for delegating API calls
This commit is contained in:
@@ -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]:
|
||||||
|
|||||||
Reference in New Issue
Block a user