Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 860 for Pythona (0.08 sec)

  1. fastapi/datastructures.py

        attribute to access the raw standard Python file (blocking, not async), useful and
        needed for non-async code.
    
        Read more about it in the
        [FastAPI docs for Request Files](https://fastapi.tiangolo.com/tutorial/request-files/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, File, UploadFile
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (1)
  2. docs/zh/docs/tutorial/dependencies/sub-dependencies.md

    并且,可以按需声明任意**深度**的子依赖项嵌套层级。
    
    **FastAPI** 负责处理解析不同深度的子依赖项。
    
    ### 第一层依赖项
    
    下列代码创建了第一层依赖项:
    
    ```Python hl_lines="8-9"
    {!../../docs_src/dependencies/tutorial005.py!}
    ```
    
    这段代码声明了类型为 `str` 的可选查询参数 `q`,然后返回这个查询参数。
    
    这个函数很简单(不过也没什么用),但却有助于让我们专注于了解子依赖项的工作方式。
    
    ### 第二层依赖项
    
    接下来,创建另一个依赖项函数,并同时用该依赖项自身再声明一个依赖项(所以这也是一个「依赖项」):
    
    ```Python hl_lines="13"
    {!../../docs_src/dependencies/tutorial005.py!}
    ```
    
    这里重点说明一下声明的参数:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. docs/tr/docs/project-generation.md

    * Full **Docker** entegrasyonu (Docker based).
    * Docker Swarm Mode ile deployment.
    * **Docker Compose** entegrasyonu ve lokal geliştirme için optimizasyon.
    * Uvicorn ve Gunicorn ile **Production ready** Python web server'ı.
    * Python <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">**FastAPI**</a> backend:
        * **Hızlı**: **NodeJS** ve **Go** ile eşit, çok yüksek performans (Starlette ve Pydantic'e teşekkürler).
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. docs/fa/docs/features.md

    اگر به یک یادآوری ۲ دقیقه ای در مورد نحوه استفاده از تایپ های پایتون دارید (حتی اگر از FastAPI استفاده نمیکنید) این آموزش کوتاه را بررسی کنید: [Python Types](python-types.md){.internal-link target=\_blank}.
    
    شما پایتون استاندارد را با استفاده از تایپ ها مینویسید:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. docs/en/docs/reference/background.md

    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import BackgroundTasks
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 377 bytes
    - Viewed (0)
  6. docs/zh/docs/async.md

    这一点,再加上 Python 是**数据科学**、机器学习(尤其是深度学习)的主要语言这一简单事实,使得 **FastAPI** 与数据科学/机器学习 Web API 和应用程序(以及其他许多应用程序)非常匹配。
    
    了解如何在生产环境中实现这种并行性,可查看此文 [Deployment](deployment/index.md){.internal-link target=_blank}。
    
    ## `async` 和 `await`
    
    现代版本的 Python 有一种非常直观的方式来定义异步代码。这使它看起来就像正常的"顺序"代码,并在适当的时候"等待"。
    
    当有一个操作需要等待才能给出结果,且支持这个新的 Python 特性时,您可以编写如下代码:
    
    ```Python
    burgers = await get_burgers(2)
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. README.md

    commands.
    
    *Nightly binaries are available for testing using the
    [tf-nightly](https://pypi.python.org/pypi/tf-nightly) and
    [tf-nightly-cpu](https://pypi.python.org/pypi/tf-nightly-cpu) packages on PyPi.*
    
    #### *Try your first TensorFlow program*
    
    ```shell
    $ python
    ```
    
    ```python
    >>> import tensorflow as tf
    >>> tf.add(1, 2).numpy()
    3
    >>> hello = tf.constant('Hello, TensorFlow!')
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Thu Oct 05 15:00:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/testing-websockets.md

    # Testando WebSockets
    
    Você pode usar o mesmo `TestClient` para testar WebSockets.
    
    Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket:
    
    ```Python hl_lines="27-31"
    {!../../docs_src/app_testing/tutorial002.py!}
    ```
    
    /// note | "Nota"
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 488 bytes
    - Viewed (0)
  9. ci/official/containers/ml_build/README.md

    WIP ML Build Docker container for ML repositories (Tensorflow, JAX and XLA).
    
    This container branches off from
    /tensorflow/tools/tf_sig_build_dockerfiles/. However, since
    hermetic CUDA and hermetic Python is now available for Tensorflow, a lot of the
    requirements installed on the original container can be removed to reduce the
    footprint of the container and make it more reusable across different ML
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 416 bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="15 16 17 18 19 20 21 22 23"
    {!../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    その追加情報はそのまま出力され、JSON Schemaに追加されます。
    
    ## `Field`の追加引数
    
    後述する`Field`、`Path`、`Query`、`Body`などでは、任意の引数を関数に渡すことでJSON Schemaの追加情報を宣言することもできます:
    
    ```Python hl_lines="4 10 11 12 13"
    {!../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top