Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 367 for declare (0.04 seconds)

  1. docs/de/docs/tutorial/query-params-str-validations.md

    Zum Beispiel würde `list[int]` überprüfen (und dokumentieren), dass der Inhalt der Liste Ganzzahlen sind. Aber `list` alleine würde das nicht.
    
    ///
    
    ## Mehr Metadaten deklarieren { #declare-more-metadata }
    
    Sie können mehr Informationen über den Parameter hinzufügen.
    
    Diese Informationen werden in das generierte OpenAPI aufgenommen und von den Dokumentationsoberflächen und externen Tools verwendet.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/query-params-str-validations.md

    q: Annotated[str | None, Query(min_length=3)] = None
    ```
    
    Así que, cuando necesites declarar un valor como requerido mientras usas `Query`, simplemente puedes no declarar un valor por defecto:
    
    {* ../../docs_src/query_params_str_validations/tutorial006_an_py39.py hl[9] *}
    
    ### Requerido, puede ser `None` { #required-can-be-none }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    If not specified and the dependency has `yield`, it will have a `scope` of `"request"` by default.
    
    ### `scope` for sub-dependencies { #scope-for-sub-dependencies }
    
    When you declare a dependency with a `scope="request"` (the default), any sub-dependency needs to also have a `scope` of `"request"`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  4. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. helm/minio/README.md

    ```
    
    ### NetworkPolicy
    
    To enable network policy for MinIO,
    install [a networking plugin that implements the Kubernetes
    NetworkPolicy spec](https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy#before-you-begin),
    and set `networkPolicy.enabled` to `true`.
    
    For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. docs/pt/docs/index.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Evoluindo o Exemplo { #example-upgrade }
    
    Agora modifique o arquivo `main.py` para receber um corpo para uma requisição `PUT`.
    
    Declare o corpo utilizando tipos padrão Python, graças ao Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  7. doc/go_spec.html

    Every identifier in a program must be declared.
    No identifier may be declared twice in the same block, and
    no identifier may be declared in both the file and package block.
    </p>
    
    <p>
    The <a href="#Blank_identifier">blank identifier</a> may be used like any other identifier
    in a declaration, but it does not introduce a binding and thus is not declared.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  8. docs/de/docs/advanced/security/oauth2-scopes.md

    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## Scopes in *Pfadoperationen* und Abhängigkeiten deklarieren { #declare-scopes-in-path-operations-and-dependencies }
    
    Jetzt deklarieren wir, dass die *Pfadoperation* für `/users/me/items/` den Scope `items` erfordert.
    
    Dazu importieren und verwenden wir `Security` von `fastapi`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. api/maven-api-plugin/src/main/mdo/plugin.mdo

              </association>
              <description>
                A set of dependencies which the plugin requires in order to function. This enables the plugin to function
                independently of its POM (or at least to declare the libraries it needs to run).
              </description>
            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>2.0.0+</version>
              <code><![CDATA[
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:28:41 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  10. docs/ja/docs/features.md

    型を使用した標準的なPythonを記述します:
    
    ```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
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 12.2K bytes
    - Click Count (0)
Back to Top