Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 874 for Pythons (0.1 sec)

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

    一つ前の章では、(依存性注入システムに基づいた)セキュリティシステムは、 *path operation関数* に `str` として `token` を与えていました:
    
    ```Python hl_lines="10"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    しかし、それはまだそんなに有用ではありません。
    
    現在のユーザーを取得するようにしてみましょう。
    
    ## ユーザーモデルの作成
    
    まずは、Pydanticのユーザーモデルを作成しましょう。
    
    ボディを宣言するのにPydanticを使用するのと同じやり方で、Pydanticを別のどんなところでも使うことができます:
    
    ```Python hl_lines="5  12-16"
    {!../../docs_src/security/tutorial002.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/en/docs/alternatives.md

    That's why, as said in the official website:
    
    > Requests is one of the most downloaded Python packages of all time
    
    The way you use it is very simple. For example, to do a `GET` request, you would write:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. docs/de/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Mach Sie hier etwas Asynchrones, um die Burger zu erstellen
        return burgers
    ```
    
    ... statt mit `def`:
    
    ```Python hl_lines="2"
    # Die ist nicht asynchron
    def get_sequential_burgers(number: int):
        # Mach Sie hier etwas Sequentielles, um die Burger zu erstellen
        return burgers
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. docs/de/docs/how-to/graphql.md

        * Mit <a href="https://tartiflette.github.io/tartiflette-asgi/" class="external-link" target="_blank">Tartiflette ASGI</a>, für ASGI-Integration
    * <a href="https://graphene-python.org/" class="external-link" target="_blank">Graphene</a>
        * Mit <a href="https://github.com/ciscorn/starlette-graphene3" class="external-link" target="_blank">starlette-graphene3</a>
    
    ## GraphQL mit Strawberry
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/setup.sources.sh

    # limitations under the License.
    # ==============================================================================
    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    
    # Sets up custom apt sources for our TF images.
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 10 18:56:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/request-forms-and-files.md

    예 ) `pip install python-multipart`.
    
    ///
    
    ## `File` 및 `Form` 업로드
    
    ```Python hl_lines="1"
    {!../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ## `File` 및 `Form` 매개변수 정의
    
    `Body` 및 `Query`와 동일한 방식으로 파일과 폼의 매개변수를 생성합니다:
    
    ```Python hl_lines="8"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. .github/workflows/deploy-docs.yml

          - 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 26 09:37:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/path-operation-advanced-configuration.md

    Incluso si están en diferentes módulos (archivos Python).
    
    ///
    
    ## Excluir de OpenAPI
    
    Para excluir una *operación de path* del esquema OpenAPI generado (y por tanto del la documentación generada automáticamente), usa el parámetro `include_in_schema` y asigna el valor como `False`;
    
    ```Python hl_lines="6"
    {!../../docs_src/path_operation_advanced_configuration/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top