Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 1,627 for inf1 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_security_api_key_query_optional.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/me": {
                    "get": {
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Click Count (0)
  2. tests/test_security_http_digest.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/me": {
                    "get": {
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. tests/test_put_no_body.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  4. tests/test_security_api_key_cookie_optional.py

    def test_openapi_schema():
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/me": {
                    "get": {
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_events/test_tutorial001.py

        with TestClient(app) as client:
            response = client.get("/openapi.json")
            assert response.status_code == 200, response.text
            assert response.json() == {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/{item_id}": {
                        "get": {
                            "responses": {
                                "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. ci/official/requirements_updater/numpy1_requirements/requirements.in

    # For release jobs, we will pin these on the release branch
    keras-nightly ~= 3.10.0.dev
    tb-nightly ~= 2.20.0.a
    # For new protobuf, if V.x.y is gencode version, then runtime version U must be
    # V <= U <= V+1
    # More info at https://protobuf.dev/support/cross-version-runtime-guarantee/
    protobuf >= 5.28.0, < 7.0
    # Test dependencies
    grpcio >= 1.68.1, < 2.0
    portpicker == 1.6.0
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 15 20:30:40 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

                }
    
                int degreeOfConcurrency = session.getRequest().getDegreeOfConcurrency();
                if (degreeOfConcurrency > 1) {
                    logger.info("");
                    logger.info(String.format(
                            "Using the %s implementation with a thread count of %d",
                            executor.getClass().getSimpleName(), degreeOfConcurrency));
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/request-forms.md

    # フォームデータ
    
    JSONの代わりにフィールドを受け取る場合は、`Form`を使用します。
    
    /// info | 情報
    
    フォームを使うためには、まず<a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>をインストールします。
    
    たとえば、`pip install python-multipart`のように。
    
    ///
    
    ## `Form`のインポート
    
    `fastapi`から`Form`をインポートします:
    
    {* ../../docs_src/request_forms/tutorial001.py hl[1] *}
    
    ## `Form`のパラメータの定義
    
    `Body`や`Query`の場合と同じようにフォームパラメータを作成します:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/body-updates.md

    Si quieres recibir actualizaciones parciales, es muy útil usar el parámetro `exclude_unset` en el `.model_dump()` del modelo de Pydantic.
    
    Como `item.model_dump(exclude_unset=True)`.
    
    /// info | Información
    
    En Pydantic v1 el método se llamaba `.dict()`, fue deprecado (pero aún soportado) en Pydantic v2, y renombrado a `.model_dump()`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/custom-response.md

    导入你想要使用的 `Response` 类(子类)然后在 *路径操作装饰器* 中声明它。
    
    {* ../../docs_src/custom_response/tutorial001b.py hl[2,7] *}
    
    /// info | 提示
    
    参数 `response_class` 也会用来定义响应的「媒体类型」。
    
    在这个例子中,HTTP 头的 `Content-Type` 会被设置成 `application/json`。
    
    并且在 OpenAPI 文档中也会这样记录。
    
    ///
    
    /// tip | 小贴士
    
    `ORJSONResponse` 目前只在 FastAPI 中可用,而在 Starlette 中不可用。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.5K bytes
    - Click Count (0)
Back to Top