-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Cody Fincher <204685+cofin@users.noreply.github.com>
- Loading branch information
1 parent
b8952a2
commit f70a037
Showing
46 changed files
with
402 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
advanced_alchemy/extensions/litestar/plugins/init/config/common.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
from litestar.constants import HTTP_DISCONNECT, HTTP_RESPONSE_START, WEBSOCKET_CLOSE, WEBSOCKET_DISCONNECT | ||
|
||
SESSION_SCOPE_KEY = "_sqlalchemy_db_session" | ||
"""Session scope key.""" | ||
SESSION_TERMINUS_ASGI_EVENTS = {HTTP_RESPONSE_START, HTTP_DISCONNECT, WEBSOCKET_DISCONNECT, WEBSOCKET_CLOSE} | ||
"""ASGI events that terminate a session scope.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
======== | ||
commands | ||
======== | ||
|
||
.. automodule:: advanced_alchemy.alembic.commands | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
======= | ||
alembic | ||
======= | ||
|
||
API Reference for the ``Alembic`` module | ||
|
||
.. note:: Private methods and attributes are not included in the API reference. | ||
|
||
Available API References | ||
------------------------ | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
commands | ||
templates/asyncio/index | ||
templates/sync/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
=========== | ||
alembic.ini | ||
=========== | ||
|
||
.. literalinclude:: ../../../../../advanced_alchemy/alembic/templates/asyncio/alembic.ini.mako | ||
:language: ini | ||
:linenos: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
=== | ||
env | ||
=== | ||
|
||
.. automodule:: advanced_alchemy.alembic.templates.asyncio.env | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
======= | ||
asyncio | ||
======= | ||
|
||
API Reference for the ``Alembic.Templates.Asyncio`` module | ||
|
||
.. note:: Private methods and attributes are not included in the API reference. | ||
|
||
Available API References | ||
------------------------ | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
alembic-ini | ||
env | ||
script-py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
========= | ||
script.py | ||
========= | ||
|
||
.. literalinclude:: ../../../../../advanced_alchemy/alembic/templates/asyncio/script.py.mako | ||
:language: python | ||
:linenos: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
=========== | ||
alembic.ini | ||
=========== | ||
|
||
.. literalinclude:: ../../../../../advanced_alchemy/alembic/templates/sync/alembic.ini.mako | ||
:language: ini | ||
:linenos: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
=== | ||
env | ||
=== | ||
|
||
.. automodule:: advanced_alchemy.alembic.templates.sync.env | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
==== | ||
sync | ||
==== | ||
|
||
API Reference for the ``Alembic.Templates.Sync`` module | ||
|
||
.. note:: Private methods and attributes are not included in the API reference. | ||
|
||
Available API References | ||
------------------------ | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
alembic-ini | ||
env | ||
script-py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
========= | ||
script.py | ||
========= | ||
|
||
.. literalinclude:: ../../../../../advanced_alchemy/alembic/templates/sync/script.py.mako | ||
:language: python | ||
:linenos: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
==== | ||
base | ||
==== | ||
|
||
.. automodule:: advanced_alchemy.base | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
======= | ||
asyncio | ||
======= | ||
|
||
.. automodule:: advanced_alchemy.config.asyncio | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
====== | ||
common | ||
====== | ||
|
||
.. automodule:: advanced_alchemy.config.common | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
====== | ||
engine | ||
====== | ||
|
||
.. automodule:: advanced_alchemy.config.engine | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
====== | ||
config | ||
====== | ||
|
||
API Reference for the ``Config`` module | ||
|
||
.. note:: Private methods and attributes are not included in the API reference. | ||
|
||
Available API References | ||
------------------------ | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
asyncio | ||
common | ||
engine | ||
sync | ||
types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
==== | ||
sync | ||
==== | ||
|
||
.. automodule:: advanced_alchemy.config.sync | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
===== | ||
types | ||
===== | ||
|
||
.. automodule:: advanced_alchemy.config.types | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
========== | ||
exceptions | ||
========== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
========== | ||
extensions | ||
========== | ||
|
||
API Reference for the ``Extensions`` module | ||
|
||
.. note:: Private methods and attributes are not included in the API reference. | ||
|
||
Available API References | ||
------------------------ | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
litestar/index | ||
sanic | ||
starlette |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
======= | ||
alembic | ||
======= | ||
|
||
.. automodule:: advanced_alchemy.extensions.litestar.alembic | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
=== | ||
cli | ||
=== | ||
|
||
.. click:: advanced_alchemy.extensions.litestar.cli:database_group | ||
:prog: Litestar CLI | ||
:nested: full |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
=== | ||
dto | ||
=== | ||
|
||
.. automodule:: advanced_alchemy.extensions.litestar.dto | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
======== | ||
litestar | ||
======== | ||
|
||
API Reference for the ``Litestar`` extensions module | ||
|
||
.. note:: Private methods and attributes are not included in the API reference. | ||
|
||
Available API References | ||
------------------------ | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
alembic | ||
cli | ||
dto | ||
plugins/index |
Oops, something went wrong.