mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
docs
This commit is contained in:
@@ -10,10 +10,10 @@ DataBridge
|
||||
.. code-block:: python
|
||||
:linenos:
|
||||
|
||||
from dishka.integrations.fastapi import FromDishka
|
||||
from argenta.bridge import DataBridge
|
||||
from argenta.di import FromDishka
|
||||
from argenta import DataBridge, Response
|
||||
|
||||
def my_handler(data_bridge: FromDishka[DataBridge]):
|
||||
def my_handler(response: Response, data_bridge: FromDishka[DataBridge]):
|
||||
# ... ваш код
|
||||
|
||||
**Практический пример: Аутентификация**
|
||||
|
||||
Reference in New Issue
Block a user