Skip to content

DeprecationWarning: Inheritance class AiohttpSession from ClientSession is discouraged #90

Description

@RomeoDespres

Importing aiogoogle raises a DeprecationWarning. Usually we don't see it because Python filters it out, however when running tests with pytest it does show up and kinda messes up the output.

It's not really a big deal but I just thought it was worth flagging. Otherwise the lib is great!

You can see it by running the following:

$ python -Wd -c "import aiogoogle"
C:\Python39\lib\abc.py:85: DeprecationWarning: Inheritance class AiohttpSession from ClientSession is discouraged
  cls = super().__new__(mcls, name, bases, namespace, **kwargs)

aiogoogle: 3.2.1
Python: 3.9.2
OS: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions