- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for enforce (0.22 sec)
-
tests/test_enforce_once_required_parameter.py
Sebastián RamÃrez <******@****.***> 1688149516 +0200
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.4K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
And the more exotic ones: * `@app.options()` * `@app.head()` * `@app.patch()` * `@app.trace()` !!! tip You are free to use each operation (HTTP method) as you wish. **FastAPI** doesn't enforce any specific meaning. The information here is presented as a guideline, not a requirement. For example, when using GraphQL you normally perform all the actions using only `POST` operations.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 9.2K bytes - Viewed (0) -
fastapi/security/oauth2.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
docs/en/docs/tutorial/security/simple-oauth2.md
* An optional `grant_type`. !!! tip The OAuth2 spec actually *requires* a field `grant_type` with a fixed value of `password`, but `OAuth2PasswordRequestForm` doesn't enforce it. If you need to enforce it, use `OAuth2PasswordRequestFormStrict` instead of `OAuth2PasswordRequestForm`. * An optional `client_id` (we don't need it for our example). * An optional `client_secret` (we don't need it for our example).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 12.5K bytes - Viewed (0) -
docs/fr/docs/async.md
```Python burgers = await get_burgers(2) ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 24K bytes - Viewed (0) -
tests/test_tutorial/test_metadata/test_tutorial001.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py
yaml_data = """ name: Deadpoolio tags: - x-force - x-men - x-avengers """ response = client.post("/items/", content=yaml_data) assert response.status_code == 200, response.text assert response.json() == { "name": "Deadpoolio", "tags": ["x-force", "x-men", "x-avengers"], } @needs_pydanticv1
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.2K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py
yaml_data = """ name: Deadpoolio tags: - x-force - x-men - x-avengers """ response = client.post("/items/", content=yaml_data) assert response.status_code == 200, response.text assert response.json() == { "name": "Deadpoolio", "tags": ["x-force", "x-men", "x-avengers"], } @needs_pydanticv2
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 3.3K bytes - Viewed (0) -
tests/test_tutorial/test_metadata/test_tutorial001_1.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.7K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
But OAuth2 with scopes can be nicely integrated into your API (with OpenAPI) and your API docs. Nevertheless, you still enforce those scopes, or any other security/authorization requirement, however you need, in your code. In many cases, OAuth2 with scopes can be an overkill. But if you know you need it, or you are curious, keep reading.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 20.5K bytes - Viewed (0)