Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 280 for declarou (0.05 sec)

  1. docs/es/docs/tutorial/security/first-steps.md

    ///
    
    Este parámetro no crea ese endpoint / *path operation*, pero declara que la URL `/token` será la que el cliente deberá usar para obtener el token. Esa información se usa en OpenAPI, y luego en los sistemas de documentación interactiva del API.
    
    Pronto también crearemos la verdadera *path operation*.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. docs/em/docs/features.md

    🚥 👆 💪 2️⃣ ⏲ ↗️ ❔ ⚙️ 🐍 🆎 (🚥 👆 🚫 ⚙️ FastAPI), ✅ 📏 🔰: [🐍 🆎](python-types.md){.internal-link target=_blank}.
    
    👆 ✍ 🐩 🐍 ⏮️ 🆎:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/es/docs/features.md

    Escribes Python estándar con tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declara una variable como un str
    # y obtiene soporte del editor dentro de la función
    def main(user_id: str):
        return user_id
    
    
    # Un modelo de Pydantic
    class User(BaseModel):
        id: int
        name: str
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    But if you return a `Response` directly (or any subclass, like `JSONResponse`), the data won't be automatically converted (even if you declare a `response_model`), and the documentation won't be automatically generated (for example, including the specific "media type", in the HTTP header `Content-Type` as part of the generated OpenAPI).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/generate-clients.md

    If you go to `/docs`, you will see that it has the **schemas** for the data to be sent in requests and received in responses:
    
    <img src="/img/tutorial/generate-clients/image01.png">
    
    You can see those schemas because they were declared with the models in the app.
    
    That information is available in the app's **OpenAPI schema**, and then shown in the API docs.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. docs/fr/docs/features.md

    Vous écrivez du python standard avec des annotations de types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Déclare une variable comme étant une str
    # et profitez de l'aide de votre IDE dans cette fonction
    def main(user_id: str):
        return user_id
    
    
    # Un modèle Pydantic
    class User(BaseModel):
        id: int
        name: str
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/settings.md

    ///
    
    ### Crear el objeto `Settings`
    
    Importa `BaseSettings` de Pydantic y crea una sub-clase, muy similar a un modelo de Pydantic.
    
    De la misma forma que con los modelos de Pydantic, declaras atributos de clase con anotaciones de tipos, y posiblemente, valores por defecto.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/settings.md

    Next it will convert and validate the data. So, when you use that `settings` object, you will have data of the types you declared (e.g. `items_per_user` will be an `int`).
    
    ### Use the `settings` { #use-the-settings }
    
    Then you can use the new `settings` object in your application:
    
    {* ../../docs_src/settings/tutorial001.py hl[18:20] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. docs/fa/docs/features.md

    شما پایتون استاندارد را با استفاده از تایپ ها مینویسید:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. guava-gwt/pom.xml

          <artifactId>guava</artifactId>
          <version>${project.version}</version>
        </dependency>
        <!-- We redeclare the j2objc-annotations dependency from `guava`: Our Gradle
             Module Metadata hides the dependency declared in `guava` from runtime
             configurations downstream, and GWT uses the runtime configuration for
             its builds. Thus, GWT doesn't get j2objc-annotations transitively, in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top