Skip to content

[doc|AbstractRouteDef] AbstractRouteDef is not importable from aiohttp.web #3183

Closed
@Maillol

Description

Long story short

Currently the documentation mentions aiohttp.web.AbstractRouteDef but AbstractRouteDef is not importable from aiohttp.web

http://docs.aiohttp.org/en/stable/web_reference.html?highlight=AbstractRouteDef#aiohttp.web.AbstractRouteDef

Expected behaviour

AbstractRouteDef is importable from aiohttp.web
or documentation mentions aiohttp.web_routedef. AbstractRouteDef

Actual behaviour

raise ImportError

Steps to reproduce

>>> from aiohttp.web import AbstractRouteDef
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'AbstractRouteDef'

Your environment

aiohttp==3.3.2

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions