Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 490 for declares (0.07 sec)

  1. docs/es/docs/advanced/response-change-status-code.md

    Pero todavía quieres poder filtrar y convertir los datos que devuelves con un `response_model`.
    
    Para esos casos, puedes usar un parámetro `Response`.
    
    ## Usa un parámetro `Response` { #use-a-response-parameter }
    
    Puedes declarar un parámetro de tipo `Response` en tu *path operation function* (como puedes hacer para cookies y headers).
    
    Y luego puedes establecer el `status_code` en ese objeto de response *temporal*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/header-param-models.md

    /// note | Nota
    
    Esto es compatible desde la versión `0.115.0` de FastAPI. 🤓
    
    ///
    
    ## Parámetros de Header con un Modelo Pydantic { #header-parameters-with-a-pydantic-model }
    
    Declara los **parámetros de header** que necesitas en un **modelo Pydantic**, y luego declara el parámetro como `Header`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. tests/test_file_and_form_order_issue_9116.py

    """
    Regression test, Error 422 if Form is declared before File
    See https://github.com/tiangolo/fastapi/discussions/9116
    """
    
    from pathlib import Path
    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, File, Form
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/file_before_form")
    def file_before_form(
        file: bytes = File(),
        city: str = Form(),
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, {@code C} is skipped for serialization test, even if it implements {@link
       *       Serializable}.
       *   <li>Serialization test is not performed on method return values unless the method is a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of
     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/cookie-params.md

    ## `Cookie` importieren { #import-cookie }
    
    Importieren Sie zuerst `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## `Cookie`-Parameter deklarieren { #declare-cookie-parameters }
    
    Deklarieren Sie dann die Cookie-Parameter mit derselben Struktur wie bei `Path` und `Query`.
    
    Sie können den Defaultwert sowie alle zusätzlichen Validierungen oder Annotierungsparameter definieren:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Sep 24 08:10:28 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/conditional-openapi.md

    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *}
    
    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    And then we use it when creating the `FastAPI` app.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            MavenProject parentProject = createProject("groupId", "parent", "1.0");
            projects.add(parentProject);
    
            MavenProject declaringProject = createProject("groupId", "declarer", "1.0");
            declaringProject.setParent(parentProject);
            declaringProject.getModel().setParent(createParent(parentProject));
            projects.add(declaringProject);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/cookie-params.md

    ## Импорт `Cookie` { #import-cookie }
    
    Сначала импортируйте `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## Объявление параметров `Cookie` { #declare-cookie-parameters }
    
    Затем объявляйте параметры cookie, используя ту же структуру, что и с `Path` и `Query`.
    
    Вы можете задать значение по умолчанию, а также все дополнительные параметры валидации или аннотации:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top