- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Alimin (0.3 sec)
-
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
В обоих случаях она будет иметь: * Необязательный параметр запроса `q`, представляющий собой `str`. * Параметр запроса `skip`, представляющий собой `int`, по умолчанию `0`. * Параметр запроса `limit`, представляющий собой `int`, по умолчанию равный `100`. В обоих случаях данные будут конвертированы, валидированы, документированы по схеме OpenAPI и т.д. ## Как это использовать
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 12 11:12:19 GMT 2024 - 16.3K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
* This will be used by the **automatic docs**. * It will also be used by automatic client code generation tools. But most importantly: * It will **limit and filter** the output data to what is defined in the return type. * This is particularly important for **security**, we'll see more of that below. ## `response_model` Parameter
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
tests/test_dependency_overrides.py
"in": "main-depends", "params": {"q": "foo", "skip": 0, "limit": 100}, } def test_main_depends_q_foo_skip_100_limit_200(): response = client.get("/main-depends/?q=foo&skip=100&limit=200") assert response.status_code == 200 assert response.json() == { "in": "main-depends", "params": {"q": "foo", "skip": 100, "limit": 200}, } def test_decorator_depends():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 15.4K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_sql_databases.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 16.1K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 16.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/index.md
В этом случае, эта зависимость ожидает: * Необязательный query-параметр `q` с типом `str` * Необязательный query-параметр `skip` с типом `int`, и значением по умолчанию `0` * Необязательный query-параметр `limit` с типом `int`, и значением по умолчанию `100` И в конце она возвращает `dict`, содержащий эти значения. !!! info "Информация"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.7K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/index.md
In diesem Fall erwartet diese Abhängigkeit: * Einen optionalen Query-Parameter `q`, der ein `str` ist. * Einen optionalen Query-Parameter `skip`, der ein `int` ist und standardmäßig `0` ist. * Einen optionalen Query-Parameter `limit`, der ein `int` ist und standardmäßig `100` ist. Und dann wird einfach ein `dict` zurückgegeben, welches diese Werte enthält. !!! info
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:10 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
Using `UploadFile` has several advantages over `bytes`: * You don't have to use `File()` in the default value of the parameter. * It uses a "spooled" file: * A file stored in memory up to a maximum size limit, and after passing this limit it will be stored in disk. * This means that it will work well for large files like images, videos, large binaries, etc. without consuming all the memory. * You can get metadata from the uploaded file.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
In beiden Fällen wird sie haben: * Einen optionalen `q`-Query-Parameter, der ein `str` ist. * Einen `skip`-Query-Parameter, der ein `int` ist, mit einem Defaultwert `0`. * Einen `limit`-Query-Parameter, der ein `int` ist, mit einem Defaultwert `100`. In beiden Fällen werden die Daten konvertiert, validiert, im OpenAPI-Schema dokumentiert, usw. ## Verwendung
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:58 GMT 2024 - 12.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
In this case, this dependency expects: * An optional query parameter `q` that is a `str`. * An optional query parameter `skip` that is an `int`, and by default is `0`. * An optional query parameter `limit` that is an `int`, and by default is `100`. And then it just returns a `dict` containing those values. !!! info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0)