- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 489 for outils (0.07 sec)
-
tests/test_filter_pydantic_sub_model_pv2.py
import pytest from dirty_equals import HasRepr, IsDict, IsOneOf from fastapi import Depends, FastAPI from fastapi.exceptions import ResponseValidationError from fastapi.testclient import TestClient from .utils import needs_pydanticv2 @pytest.fixture(name="client") def get_client(): from pydantic import BaseModel, ValidationInfo, field_validator app = FastAPI() class ModelB(BaseModel):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002_pv1_an.py
import pytest from fastapi.testclient import TestClient from tests.utils import needs_pydanticv1 @pytest.fixture(name="client") def get_client(): from docs_src.request_form_models.tutorial002_pv1_an import app client = TestClient(app) return client # TODO: remove when deprecating Pydantic v1 @needs_pydanticv1 def test_post_body_form(client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 6.4K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py
from pathlib import Path import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture(name="client") def get_client(): from docs_src.request_files.tutorial001_02_py310 import app client = TestClient(app) return client @needs_py310 def test_post_form_no_body(client: TestClient): response = client.post("/files/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
/// note | "Nota" `jsonable_encoder` é realmente usado pelo **FastAPI** internamente para converter dados. Mas também é útil em muitos outros cenários.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/fr/docs/deployment/versions.md
```txt fastapi>=0.45.0,<0.46.0 ``` cela signifierait que vous utiliseriez les versions `0.45.0` ou supérieures, mais inférieures à `0.46.0`, par exemple, une version `0.45.2` serait toujours acceptée. Si vous utilisez un autre outil pour gérer vos installations, comme Poetry, Pipenv, ou autres, ils ont tous un moyen que vous pouvez utiliser pour définir des versions spécifiques pour vos paquets. ## Versions disponibles
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/pt/docs/deployment/manually.md
``` /// Cada programa de servidor ASGI alternativo teria um comando semelhante, você pode ler mais na documentação respectiva. /// warning | "Aviso" Uvicorn e outros servidores suportam a opção `--reload` que é útil durante o desenvolvimento. A opção `--reload` consome muito mais recursos, é mais instável, etc. Ela ajuda muito durante o **desenvolvimento**, mas você **não deve** usá-la em **produção**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 20 11:10:02 UTC 2024 - 8.2K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_py310.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient from fastapi.websockets import WebSocketDisconnect from ...utils import needs_py310 @pytest.fixture(name="app") def get_app(): from docs_src.websockets.tutorial002_py310 import app return app @needs_py310 def test_main(app: FastAPI): client = TestClient(app) response = client.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
apache-maven/src/main/appended-resources/META-INF/NOTICE.vm
META-INF/NOTICE in archive lib/guice-5.1.0.jar Google Guice - Core Library Copyright 2006-2022 Google, Inc. This product includes software developed at The Apache Software Foundation (http://www.apache.org/). META-INF/NOTICE in archive lib/plexus-utils-3.2.1.jar This product includes software developed by the Indiana University Extreme! Lab (http://www.extreme.indiana.edu/). This product includes software developed by The Apache Software Foundation (http://www.apache.org/). This product includes...
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 10 19:27:25 UTC 2022 - 5.5K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
from typing import Optional import pytest from fastapi._compat import PYDANTIC_V2, Undefined from fastapi.encoders import jsonable_encoder from pydantic import BaseModel, Field, ValidationError from .utils import needs_pydanticv1, needs_pydanticv2 class Person: def __init__(self, name: str): self.name = name class Pet: def __init__(self, owner: Person, name: str):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0) -
schema/index_test.go
package schema_test import ( "sync" "testing" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) type UserIndex struct { Name string `gorm:"index"` Name2 string `gorm:"index:idx_name,unique"` Name3 string `gorm:"index:,sort:desc,collate:utf8,type:btree,length:10,where:name3 != 'jinzhu'"` Name4 string `gorm:"uniqueIndex"`
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 8K bytes - Viewed (0)