Skip to content

Commit

Permalink
Expose Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Jan 10, 2025
1 parent 5aac4b9 commit e8d9271
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion esmerald/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from .protocols import AsyncDAOProtocol, DaoProtocol, MiddlewareProtocol
from .requests import Request
from .responses import JSONResponse, Response, TemplateResponse
from .routing.apis import APIView, SimpleAPIView
from .routing.apis import APIView, Controller, SimpleAPIView
from .routing.gateways import Gateway, WebhookGateway, WebSocketGateway
from .routing.handlers import delete, get, head, options, patch, post, put, route, trace, websocket
from .routing.router import Include, Router
Expand All @@ -57,6 +57,7 @@
"BasePermission",
"ChildEsmerald",
"Context",
"Controller",
"CORSConfig",
"CSRFConfig",
"Cookie",
Expand Down

0 comments on commit e8d9271

Please sign in to comment.