Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 630 for hl (0.02 sec)

  1. docs/en/docs/tutorial/body.md

    First, you need to import `BaseModel` from `pydantic`:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Create your data model { #create-your-data-model }
    
    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. docs/ko/docs/advanced/websockets.md

    프로덕션 환경에서는 위에서 설명한 옵션 중 하나를 사용하는 것이 좋습니다.
    
    그러나 이는 WebSockets의 서버 측에 집중하고 동작하는 예제를 제공하는 가장 간단한 방법입니다:
    
    {* ../../docs_src/websockets/tutorial001.py hl[2,6:38,41:43] *}
    
    ## `websocket` 생성하기
    
    **FastAPI** 응용 프로그램에서 `websocket`을 생성합니다:
    
    {* ../../docs_src/websockets/tutorial001.py hl[1,46:47] *}
    
    /// note | 기술적 세부사항
    
    `from starlette.websockets import WebSocket`을 사용할 수도 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Nov 27 20:03:29 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:125,129:135,140,156] *}
    
    Agora vamos revisar essas mudanças passo a passo.
    
    ## Esquema de segurança OAuth2
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Aber das ist immer noch nicht so nützlich.
    
    Lassen wir es uns den aktuellen Benutzer überreichen.
    
    ## Ein Benutzermodell erstellen
    
    Erstellen wir zunächst ein Pydantic-Benutzermodell.
    
    So wie wir Pydantic zum Deklarieren von Bodys verwenden, können wir es auch überall sonst verwenden:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:16] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model { #create-a-user-model }
    
    First, let's create a Pydantic user model.
    
    The same way we use Pydantic to declare bodies, we can use it anywhere else:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/security/get-current-user.md

    L5:{* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    L6:
    L7:Mas isso ainda não é tão útil.
    L8:
    L9:Vamos fazer com que ele nos forneça o usuário atual.
    L10:
    L11:## Criar um modelo de usuário
    L12:
    L13:Primeiro, vamos criar um modelo de usuário com Pydantic.
    L14:
    L15:Da mesma forma que usamos o Pydantic para declarar corpos, podemos usá-lo em qualquer outro lugar:
    L16:
    L17:{* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    L18:
    L19:## Criar uma dependência `get_current_user`
    ...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Jan 10 13:33:35 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    응답을 생성하기 전에는 `yield`문을 포함하여 그 이전의 코드만이 실행됩니다:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[2:4] *}
    
    yield된 값은 *경로 작업* 및 다른 의존성들에 주입되는 값 입니다:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[4] *}
    
    `yield`문 다음의 코드는 응답을 생성한 후 보내기 전에 실행됩니다:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *}
    
    /// tip | 팁
    
    `async` 함수와 일반 함수 모두 사용할 수 있습니다.
    
    **FastAPI**는 일반 의존성과 마찬가지로 각각의 함수를 올바르게 처리할 것입니다.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Feb 09 14:54:09 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/websockets.md

    But it's the simplest way to focus on the server-side of WebSockets and have a working example:
    
    {* ../../docs_src/websockets/tutorial001.py hl[2,6:38,41:43] *}
    
    ## Create a `websocket` { #create-a-websocket }
    
    In your **FastAPI** application, create a `websocket`:
    
    {* ../../docs_src/websockets/tutorial001.py hl[1,46:47] *}
    
    /// note | Technical Details
    
    You could also use `from starlette.websockets import WebSocket`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. docs/de/docs/how-to/extending-openapi.md

    Schreiben Sie zunächst wie gewohnt Ihre ganze **FastAPI**-Anwendung:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[1,4,7:9] *}
    
    ### Das OpenAPI-Schema generieren
    
    Verwenden Sie dann dieselbe Hilfsfunktion, um das OpenAPI-Schema innerhalb einer `custom_openapi()`-Funktion zu generieren:
    
    {* ../../docs_src/extending_openapi/tutorial001.py hl[2,15:21] *}
    
    ### Das OpenAPI-Schema ändern
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** kümmert sich darum, sie aufzulösen.
    
    ## Erste Abhängigkeit, „Dependable“
    
    Sie könnten eine erste Abhängigkeit („Dependable“) wie folgt erstellen:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Diese deklariert einen optionalen Abfrageparameter `q` vom Typ `str` und gibt ihn dann einfach zurück.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top