Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 895 for python (0.05 sec)

  1. docs/ko/docs/tutorial/security/get-current-user.md

    ```Python hl_lines="17-20  24-25"
    {!> ../../docs_src/security/tutorial002_py310.py!}
    ```
    
    ////
    
    ## 현재 유저 주입하기
    
    이제 *경로 작동*에서 `get_current_user`와 동일한 `Depends`를 사용할 수 있습니다.
    
    //// tab | 파이썬 3.7 이상
    
    ```Python hl_lines="31"
    {!> ../../docs_src/security/tutorial002.py!}
    ```
    
    ////
    
    //// tab | 파이썬 3.10 이상
    
    ```Python hl_lines="29"
    {!> ../../docs_src/security/tutorial002_py310.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/tr/docs/history-design-future.md

    Çeşitli fikirleri en popüler Python editörlerinde test ettim: PyCharm, VS Code, Jedi tabanlı editörler.
    
    Bu test, en son <a href="https://www.jetbrains.com/research/python-developers-survey-2018/#development-tools" class="external-link" target="_blank">Python Developer Survey</a>'ine göre, kullanıcıların yaklaşık %80'inin kullandığı editörleri kapsıyor.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. docs/pt/docs/index.md

    Você faz com tipos padrão do Python moderno.
    
    Você não terá que aprender uma nova sintaxe, métodos ou classes de uma biblioteca específica etc.
    
    Apenas **Python** padrão.
    
    Por exemplo, para um `int`:
    
    ```Python
    item_id: int
    ```
    
    ou para um modelo mais complexo, `Item`:
    
    ```Python
    item: Item
    ```
    
    ...e com essa única declaração você tem:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/nl/docs/index.md

    Dat doe je met standaard moderne Python types.
    
    Je hoeft geen nieuwe syntax te leren, de methods of klassen van een specifieke bibliotheek, etc.
    
    Gewoon standaard **Python**.
    
    Bijvoorbeeld, voor een `int`:
    
    ```Python
    item_id: int
    ```
    
    of voor een complexer `Item` model:
    
    ```Python
    item: Item
    ```
    
    ...en met die ene verklaring krijg je:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/body-nested-models.md

    ## 리스트 필드
    
    어트리뷰트를 서브타입으로 정의할 수 있습니다. 예를 들어 파이썬 `list`는:
    
    ```Python hl_lines="14"
    {!../../docs_src/body_nested_models/tutorial001.py!}
    ```
    
    이는 `tags`를 항목 리스트로 만듭니다. 각 항목의 타입을 선언하지 않더라도요.
    
    ## 타입 매개변수가 있는 리스트 필드
    
    하지만 파이썬은 내부의 타입이나 "타입 매개변수"를 선언할 수 있는 특정 방법이 있습니다:
    
    ### typing의 `List` 임포트
    
    먼저, 파이썬 표준 `typing` 모듈에서 `List`를 임포트합니다:
    
    ```Python hl_lines="1"
    {!../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. .github/workflows/label-approved.yml

        steps:
        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: actions/checkout@v4
        - name: Set up Python
          uses: actions/setup-python@v5
          with:
            python-version: "3.11"
        - name: Setup uv
          uses: astral-sh/setup-uv@v3
          with:
            version: "0.4.15"
            enable-cache: true
            cache-dependency-glob: |
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:58:30 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. docs/zh-hant/docs/index.md

    ### 總結
    
    總結來說, 你就像宣告函式的參數型別一樣,只宣告了一次請求參數和請求主體參數等型別。
    
    你使用 Python 標準型別來完成聲明。
    
    你不需要學習新的語法、類別、方法或函式庫等等。
    
    只需要使用 **Python 以上的版本**。
    
    舉個範例,比如宣告 int 的型別:
    
    ```Python
    item_id: int
    ```
    
    或是一個更複雜的 `Item` 模型:
    
    ```Python
    item: Item
    ```
    
    在進行一次宣告後,你將獲得:
    
    - 編輯器支援:
        - 自動補全
        - 型別檢查
    - 資料驗證:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/metadata.md

    Вы можете задать их следующим образом:
    
    ```Python hl_lines="3-16  19-31"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip | "Подсказка"
    
    Вы можете использовать Markdown в поле `description`, и оно будет отображено в выводе.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/response-status-code.md

    * `@app.put()`
    * `@app.delete()`
    * 等……
    
    ```Python hl_lines="6"
    {!../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    /// note | "笔记"
    
    注意,`status_code` 是(`get`、`post` 等)**装饰器**方法中的参数。与之前的参数和请求体不同,不是*路径操作函数*的参数。
    
    ///
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    /// info | "说明"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. docs/de/docs/deployment/server-workers.md

    * `main:app`: Das ist die gleiche Syntax, die auch von Uvicorn verwendet wird. `main` bedeutet das Python-Modul mit dem Namen `main`, also eine Datei `main.py`. Und `app` ist der Name der Variable, welche die **FastAPI**-Anwendung ist.
        * Stellen Sie sich einfach vor, dass `main:app` einer Python-`import`-Anweisung wie der folgenden entspricht:
    
            ```Python
            from main import app
            ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top