Skip to content

Commit

Permalink
Deploying to gh-pages from @ litestar-org/litestar@da30d9f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Jan 5, 2025
1 parent 47999d4 commit 0074ad6
Show file tree
Hide file tree
Showing 287 changed files with 32,371 additions and 14,263 deletions.
2 changes: 1 addition & 1 deletion 3351/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 5f4cb5c7390bd963f287c615ed7bbdab
config: c4c876f80fdbc557678f6722246a88fc
tags: 645f666f9bcd5a90fca523b33c5a78b7
7 changes: 5 additions & 2 deletions 3351/_sources/admonitions/sync-to-thread-info.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
running the event loop, and in turn block the whole application.

To mitigate this, the ``sync_to_thread`` parameter can be set to ``True``, which
will result in the function being run in a thread pool. Should the function be
non-blocking, ``sync_to_thread`` should be set to ``False`` instead.
will result in the function being run in a thread pool.

If a synchronous function is non-blocking, setting ``sync_to_thread`` to ``False``
will tell Litestar that the user is sure about its behavior
and the function can be treated as non-blocking.

If a synchronous function is passed, without setting an explicit ``sync_to_thread``
value, a warning will be raised.
Expand Down
16 changes: 5 additions & 11 deletions 3351/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,6 @@ A huge thank you to our current sponsors:
</a>
<p style="text-align: center;">Telemetry Sports</p>
</div>
<div>
<a href="https://www.stok.kr/" title="Stok - Stack Up Your Assets!">
<img src="https://avatars.githubusercontent.com/u/144093421?s=400&v=4" alt="Stok" style="border-radius: 10px; width: auto; max-height: 150px;" />
</a>
<p style="text-align: center;">Stok</p>
</div>
</div>

We invite organizations and individuals to join our sponsorship program.
Expand Down Expand Up @@ -325,13 +319,13 @@ Example Applications
--------------------


* `litestar-pg-redis-docker <https://github.com/litestar-org/litestar-pg-redis-docker>`_ : In addition to Litestar, this
demonstrates a pattern of application modularity, SQLAlchemy 2.0 ORM, Redis cache connectivity, and more. Like all
Litestar projects, this application is open to contributions, big and small.
* `litestar-fullstack <https://github.com/litestar-org/litestar-fullstack>`_ : A fully-capable, production-ready fullstack
Litestar web application configured with best practices. It includes SQLAlchemy 2.0, VueJS, `Vite <https://vitejs.dev/>`_,
`SAQ job queue <https://saq-py.readthedocs.io/en/latest/>`_, ``Jinja`` templates and more.
`Read more <https://litestar-org.github.io/litestar-fullstack/latest/>`_.
`Read more <https://litestar-org.github.io/litestar-fullstack/latest/>`_. Like all
Litestar projects, this application is open to contributions, big and small.
* `litestar-fullstack-inertia <https://github.com/litestar-org/litestar-fullstack-inertia>`_ : Similar to
`Litestar Fullstack <https://litestar-org.github.io/litestar-fullstack/latest/>`_ but uses `Inertia.js <https://inertiajs.com>`_.
* `litestar-hello-world <https://github.com/litestar-org/litestar-hello-world>`_: A bare-minimum application setup.
Great for testing and POC work.

Expand Down Expand Up @@ -360,5 +354,5 @@ Example Applications
:hidden:

contribution-guide
Available Issues <https://github.com/search?q=user%3Alitestar-org+state%3Aopen+label%3A%22good+first+issue%22+++no%3Aassignee+&type=issues=>
Available Issues <https://github.com/search?q=user%3Alitestar-org+state%3Aopen+label%3A%22good+first+issue%22+++no%3Aassignee+&type=issues>
Code of Conduct <https://github.com/litestar-org/.github?tab=coc-ov-file#readme>
6 changes: 3 additions & 3 deletions 3351/_sources/migration/flask.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ Request methods
+---------------------------------+-------------------------------------------------------------------------------------------------------+
| ``request.environ`` | ``request.scope`` |
+---------------------------------+-------------------------------------------------------------------------------------------------------+
| ``request.files`` | Use ```UploadFile`` <usage/4-request-data/#file-uploads>`__ |
| ``request.files`` | Use ```UploadFile`` <usage/requests/file-uploads>`__ |
+---------------------------------+-------------------------------------------------------------------------------------------------------+
| ``request.form`` | ``request.form()``, prefer ```Body`` <usage/4-request-data/#specifying-a-content-type>`__ |
| ``request.form`` | ``request.form()``, prefer ```Body`` <usage/requests/content-type>`__ |
+---------------------------------+-------------------------------------------------------------------------------------------------------+
| ``request.get_json`` | ``request.json()``, prefer the ```data keyword argument`` <usage/4-request-data/#request-body>`__ |
| ``request.get_json`` | ``request.json()``, prefer the ```data keyword argument`` <usage/requests/request-body>`__ |
+---------------------------------+-------------------------------------------------------------------------------------------------------+
| ``request.headers`` | ``request.headers`` |
+---------------------------------+-------------------------------------------------------------------------------------------------------+
Expand Down
4 changes: 2 additions & 2 deletions 3351/_sources/reference/concurrency.rst.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cli
===
concurrency
===========

.. automodule:: litestar.concurrency
:members:
3 changes: 3 additions & 0 deletions 3351/_sources/reference/exceptions.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ exceptions

.. automodule:: litestar.exceptions
:members:

.. automodule:: litestar.exceptions.responses
:members:
5 changes: 5 additions & 0 deletions 3351/_sources/reference/plugins/attrs.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
attrs
=====

.. automodule:: litestar.plugins.attrs
:members:
7 changes: 7 additions & 0 deletions 3351/_sources/reference/plugins/htmx.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
====
htmx
====


.. automodule:: litestar.plugins.htmx
:members:
5 changes: 5 additions & 0 deletions 3351/_sources/reference/plugins/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ plugins
:maxdepth: 1
:hidden:

attrs
flash_messages
htmx
problem_details
prometheus
pydantic
structlog
sqlalchemy
7 changes: 7 additions & 0 deletions 3351/_sources/reference/plugins/problem_details.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
===============
problem details
===============


.. automodule:: litestar.plugins.problem_details
:members:
5 changes: 5 additions & 0 deletions 3351/_sources/reference/plugins/prometheus.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
prometheus
==========

.. automodule:: litestar.plugins.prometheus
:members:
5 changes: 5 additions & 0 deletions 3351/_sources/reference/plugins/pydantic.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pydantic
========

.. automodule:: litestar.plugins.pydantic
:members:
1 change: 1 addition & 0 deletions 3351/_sources/reference/stores/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ stores
memory
redis
registry
valkey
5 changes: 5 additions & 0 deletions 3351/_sources/reference/stores/valkey.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
valkey
======

.. automodule:: litestar.stores.valkey
:members:
2 changes: 1 addition & 1 deletion 3351/_sources/reference/testing.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ testing


.. automodule:: litestar.testing
:members: RequestFactory, BaseTestClient, TestClient, AsyncTestClient, create_async_test_client, create_test_client
:members: RequestFactory, BaseTestClient, TestClient, AsyncTestClient, create_async_test_client, create_test_client, subprocess_sync_client, subprocess_async_client
:undoc-members: WebSocketTestSession


Expand Down
12 changes: 6 additions & 6 deletions 3351/_sources/reference/types.rst.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
types
=====

.. py:currentmodule:: litestar.types
.. module:: litestar.types



Expand Down Expand Up @@ -58,15 +58,15 @@ ASGI Application Parameters
ASGI Scopes
~~~~~~~~~~~~

.. autodata:: litestar.types.ASGIVersion
.. autoclass:: litestar.types.ASGIVersion

.. autodata:: litestar.types.BaseScope
.. autoclass:: litestar.types.BaseScope

.. autodata:: litestar.types.HTTPScope
.. autoclass:: litestar.types.HTTPScope

.. autodata:: litestar.types.LifeSpanScope
.. autoclass:: litestar.types.LifeSpanScope

.. autodata:: litestar.types.WebSocketScope
.. autoclass:: litestar.types.WebSocketScope


ASGI Events
Expand Down
Loading

0 comments on commit 0074ad6

Please sign in to comment.