Skip to content

Commit

Permalink
chore: fix the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Jan 11, 2025
1 parent d671d1e commit a6ffc21
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions robyn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
from robyn.processpool import run_processes
from robyn.reloader import compile_rust_files
from robyn.responses import html, serve_file, serve_html
from robyn.robyn import FunctionInfo, Headers, HttpMethod, Request, Response, WebSocketConnector, get_version
from robyn.robyn import FunctionInfo, Headers, HttpMethod, Request, Response, WebSocketConnector, get_version, Url
from robyn.router import MiddlewareRouter, MiddlewareType, Router, WebSocketRouter
from robyn.types import Directory
from robyn.types import Directory, PathParams, Method, FormData, Files, IPAddress, Body
from robyn.ws import WebSocket

__version__ = get_version()
Expand Down Expand Up @@ -656,4 +656,12 @@ def cors_middleware(request):
"Headers",
"WebSocketConnector",
"WebSocket",
"Directory",
"PathParams",
"Method",
"FormData",
"Files",
"IPAddress",
"Body",
"Url",
]
3 changes: 2 additions & 1 deletion robyn/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ class Body:
pass


__all__ = ["JSONResponse", "Body"]
__all__ = ["JSONResponse", "Body", "Directory", "PathParams", "Method", "FormData", "Files", "IPAddress"]

0 comments on commit a6ffc21

Please sign in to comment.