Skip to content

add module docstring for fasthtml.core - #916

Open
RensDimmendaal wants to merge 1 commit into
mainfrom
moddoc-core-module
Open

add module docstring for fasthtml.core#916
RensDimmendaal wants to merge 1 commit into
mainfrom
moddoc-core-module

Conversation

@RensDimmendaal

Copy link
Copy Markdown
Contributor

Following the nbdev.moddocs guidelines.

I made one small change in MiddlewareBase.__call__ to make it more concise (see comment).

@RensDimmendaal
RensDimmendaal requested a review from jph00 August 12, 2026 13:08
@RensDimmendaal RensDimmendaal added the documentation Improvements or additions to documentation label Aug 12, 2026
Comment thread fasthtml/core.py
return HTTPConnection(scope)
if scope["type"] in ("http", "websocket"): return HTTPConnection(scope)
await self._app(scope, receive, send)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I was fixing the class docstring I saw this could be 2 instead of 4 lines. But it's unrelated to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant