Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for compact (0.19 sec)

  1. docs/es/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Trabajando con los *enumerations* de Python
    
    El valor del *parámetro de path* será un *enumeration member*.
    
    #### Compara *enumeration members*
    
    Puedes compararlo con el *enumeration member* en el enum (`ModelName`) que creaste:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        url: Optional[AnyUrl] = None
    
    
    class Info(BaseModelWithConfig):
        title: str
        summary: Optional[str] = None
        description: Optional[str] = None
        termsOfService: Optional[str] = None
        contact: Optional[Contact] = None
        license: Optional[License] = None
        version: str
    
    
    class ServerVariable(BaseModelWithConfig):
        enum: Annotated[Optional[List[str]], Field(min_length=1)] = None
        default: str
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. docs/pt/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Trabalhando com os *enumeration* do Python
    
    O valor do *parâmetro da rota* será um *membro de enumeration*.
    
    #### Compare *membros de enumeration*
    
    Você pode comparar eles com o *membro de enumeration* no enum `ModelName` que você criou:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  4. docs/en/docs/help-fastapi.md

    I love to hear about how **FastAPI** is being used, what you have liked in it, in which project/company are you using it, etc.
    
    ## Vote for FastAPI
    
    * <a href="https://www.slant.co/options/34241/~fastapi-review" class="external-link" target="_blank">Vote for **FastAPI** in Slant</a>.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  5. docs/de/docs/alternatives.md

    Ein großartiges Tool, sehr unterbewertet. Es sollte weitaus populärer als viele andere Flask-Plugins sein. Möglicherweise liegt es daran, dass die Dokumentation zu kompakt und abstrakt ist.
    
    Das löste das Problem, YAML (eine andere Syntax) in Python-Docstrings schreiben zu müssen.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:28 GMT 2024
    - 26.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/http-basic-auth.md

    #### Fix it with `secrets.compare_digest()`
    
    But in our code we are actually using `secrets.compare_digest()`.
    
    In short, it will take the same time to compare `stanleyjobsox` to `stanleyjobson` than it takes to compare `johndoe` to `stanleyjobson`. And the same for the password.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/security/http-basic-auth.md

    ✋️ 🔨 👈, ⏲ ⚖️ 📆 👊 🔜 ✔️ 💭 ☑ 🆔 &amp; 🔐, ⏮️ "ℹ" 👆 🈸, ⚙️ 🕰 ✊ ❔.
    
    #### 🔧 ⚫️ ⏮️ `secrets.compare_digest()`
    
    ✋️ 👆 📟 👥 🤙 ⚙️ `secrets.compare_digest()`.
    
    📏, ⚫️ 🔜 ✊ 🎏 🕰 🔬 `stanleyjobsox` `stanleyjobson` 🌘 ⚫️ ✊ 🔬 `johndoe` `stanleyjobson`. &amp; 🎏 🔐.
    
    👈 🌌, ⚙️ `secrets.compare_digest()` 👆 🈸 📟, ⚫️ 🔜 🔒 🛡 👉 🎂 ↔ 💂‍♂ 👊.
    
    ### 📨 ❌
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. docs_src/security/tutorial007_an_py39.py

        correct_username_bytes = b"stanleyjobson"
        is_correct_username = secrets.compare_digest(
            current_username_bytes, correct_username_bytes
        )
        current_password_bytes = credentials.password.encode("utf8")
        correct_password_bytes = b"swordfish"
        is_correct_password = secrets.compare_digest(
            current_password_bytes, correct_password_bytes
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  9. tests/test_custom_schema_fields.py

    from fastapi import FastAPI
    from fastapi._compat import PYDANTIC_V2
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
    
        if PYDANTIC_V2:
            model_config = {
                "json_schema_extra": {
                    "x-something-internal": {"level": 4},
                }
            }
        else:
    
            class Config:
                schema_extra = {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/metadata.md

    | `terms_of_service` | `str` | Eine URL zu den Nutzungsbedingungen für die API. Falls angegeben, muss es sich um eine URL handeln. |
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:25:38 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top