abhinavk99/jikanpy

Replace AbstractJikan with utility functions

abhinavk99 opened this issue · 0 comments

Reasons

  1. AioJikan methods aren't really overriding AbstractJikan methods because async def can't override def according to mypy.
  2. AioJikan needs to reimplement methods in AbstractJikan like _wrap_response.
  3. URL getting methods in AbstractJikan can become utility functions.
  4. It'll make it easier to allow different kwargs in for session headers in the Jikan and AioJikan constructors.