Skip to content

Add Bottle adapter, example, and tests - #51

Open
ahmedlemine wants to merge 1 commit into
starfederation:developfrom
ahmedlemine:add-bottle
Open

Add Bottle adapter, example, and tests#51
ahmedlemine wants to merge 1 commit into
starfederation:developfrom
ahmedlemine:add-bottle

Conversation

@ahmedlemine

Copy link
Copy Markdown

Adds Bottle framework support to the Python SDK.

Bottle is synchronous/WSGI-only, but it natively supports iterable and generator response body, streaming each yielded value to the client. This makes it a straightforward fit for Datastar's SSE generators without requiring any async-specific handling.

Also included is a Bottle example and matrix tests covering the supported synchronous callable types.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant