Skip to content

Commit

Permalink
fix: add abstract method for convert_uptime
Browse files Browse the repository at this point in the history
  • Loading branch information
guerda committed Oct 14, 2023
1 parent 2133eb4 commit 9a2bc9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/aiovodafone/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ async def _get_page_result(self, page: str) -> aiohttp.ClientResponse:
allow_redirects=False,
)

@abstractmethod
async def convert_uptime(self, uptime: str) -> datetime:
pass

async def close(self) -> None:
"""Router close session."""
await self.session.close()
Expand Down

0 comments on commit 9a2bc9d

Please # to comment.