starlette
Here are 208 public repositories matching this topic...
-
Updated
Nov 3, 2021
We should create an extension that allows you to profile your request using https://github.com/joerick/pyinstrument
Should probably an argument that lets you specify the path for the profile report.
Example API:
schema = strawberry.Schema(
Query,
extensions=[
PyInstrument(report_path="./my-report.html")
]Should add a section to the docs for third-party examples and guides using Mangum
We have a basic test for piccolo asgi new:
https://github.com/piccolo-orm/piccolo/blob/master/tests/apps/asgi/commands/test_new.py
It can definitely be improved though. As a minimum, we should read the generated file contents, and use ast.parse(file_contents) to make sure the file is valid Python code. We use a similar approach here:
Support python 3.10
Add it in CI
-
Updated
Nov 3, 2021 - Python
-
Updated
Sep 22, 2021 - Python
-
Updated
Aug 31, 2021 - Python
-
Updated
Sep 16, 2021 - Python
-
Updated
Nov 11, 2021 - Python
-
Updated
Oct 26, 2021 - Python
-
Updated
Nov 8, 2021 - Python
As we are going to implement theming support in BitcartCC store, see bitcartcc/bitcart-store#319, we need to extend the API to allow storing css url.
CSS url for the theme is just an url which will be loaded by the frontend.
Ideally in the future we will allow to host css right on the server and use a permanent link to server storage, for that #161 and file storage support should be implemented
-
Updated
Nov 6, 2018 - Jupyter Notebook
-
Updated
Nov 5, 2021 - Python
-
Updated
Jul 28, 2019 - HTML
https://asgi.readthedocs.io/en/latest/specs/www.html#websocket-connection-scope
"subprotocols" key should be built from Sec-WebSocket-Protocol header value. Currently it's always empty.
scope = {
"type": "websocket",
"headers": flatten_headers(headers),
"path": path,
"query_string": query_string_bytes,
"root_path":
As evidenced by msgpack/msgpack#194, there still is no clear answer on the "proper" MIME type for msgpack. Fluent-bit's HTTP output plugin uses application/msgpack for the content-type instead of aapplication/x-msgpack, so the msgpack-asgi middleware doesn't attempt to unpack requests from fluent-bit POST's
It would be nice to have an 'auto apply' option in the filter sidebar.
When the option is disabled, the filters are applied by manually pressing the 'apply' button:
When the option is enabled, the 'apply' button is hidden, and when any of t
-
Updated
Nov 6, 2021 - Python
-
Updated
Oct 19, 2021 - Python
Improve this page
Add a description, image, and links to the starlette topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the starlette topic, visit your repo's landing page and select "manage topics."

First check