- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 339 for com (0.17 sec)
-
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py
"url": IsOneOf( "https://stag.example.com/", # TODO: remove when deprecating Pydantic v1 "https://stag.example.com", ), "description": "Staging environment", }, { "url": IsOneOf( "https://prod.example.com/", # TODO: remove when deprecating Pydantic v1
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 1.6K bytes - Viewed (0) -
docs/em/docs/project-generation.md
## 🌕 📚 FastAPI ✳ 📂: <a href="https://github.com/tiangolo/full-stack-fastapi-postgresql" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-fastapi-postgresql</a> ### 🌕 📚 FastAPI ✳ - ⚒ * 🌕 **☁** 🛠️ (☁ 🧢). * ☁ 🐝 📳 🛠️. * **☁ ✍** 🛠️ & 🛠️ 🇧🇿 🛠️. * **🏭 🔜** 🐍 🕸 💽 ⚙️ Uvicorn & 🐁.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Oct 20 09:00:44 GMT 2023 - 4.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
```Python q: Union[str, None] = None ``` Mas o declara explicitamente como um parâmetro de consulta. !!! info "Informação" Tenha em mente que o FastAPI se preocupa com a parte: ```Python = None ``` Ou com: ```Python = Query(default=None) ``` E irá utilizar o `None` para detectar que o parâmetro de consulta não é obrigatório.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 9.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/background-tasks.md
É apenas uma função padrão que pode receber parâmetros. Pode ser uma função `async def` ou `def` normal, o **FastAPI** saberá como lidar com isso corretamente. Nesse caso, a função de tarefa gravará em um arquivo (simulando o envio de um e-mail). E como a operação de gravação não usa `async` e `await`, definimos a função com `def` normal: ```Python hl_lines="6-9" {!../../../docs_src/background_tasks/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon May 09 23:44:32 GMT 2022 - 5.3K bytes - Viewed (0) -
docs_src/sql_databases/sql_app_py39/tests/test_sql_app.py
def test_create_user(): response = client.post( "/users/", json={"email": "deadpool@example.com", "password": "chimichangas4life"}, ) assert response.status_code == 200, response.text data = response.json() assert data["email"] == "deadpool@example.com" assert "id" in data user_id = data["id"] response = client.get(f"/users/{user_id}")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 1.2K bytes - Viewed (0) -
docs_src/custom_docs_ui/tutorial001.py
openapi_url=app.openapi_url, title=app.title + " - Swagger UI", oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url, swagger_js_url="https://unpkg.com/swagger-ui-dist@5.9.0/swagger-ui-bundle.js", swagger_css_url="https://unpkg.com/swagger-ui-dist@5.9.0/swagger-ui.css", ) @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False) async def swagger_ui_redirect():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Oct 30 09:58:58 GMT 2023 - 1.1K 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) -
pyproject.toml
"pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0", "typing-extensions>=4.8.0", ] [project.urls] Homepage = "https://github.com/tiangolo/fastapi" Documentation = "https://fastapi.tiangolo.com/" Repository = "https://github.com/tiangolo/fastapi" [project.optional-dependencies] standard = [ "fastapi-cli >=0.0.2", # For the test client "httpx >=0.23.0", # For templates
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.3K bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_tutorial001.py
monkeypatch.setenv("ADMIN_EMAIL", "admin@example.com") from docs_src.settings.tutorial001 import app client = TestClient(app) response = client.get("/info") assert response.status_code == 200, response.text assert response.json() == { "app_name": "Awesome API", "admin_email": "admin@example.com", "items_per_user": 50,
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 552 bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial002.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jul 09 18:06:12 GMT 2020 - 568 bytes - Viewed (0)