Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for aiofiles (0.37 sec)

  1. docs/zh/docs/advanced/templates.md

    ## 安装依赖项
    
    安装 `jinja2`:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    如需使用静态文件,还要安装 `aiofiles`:
    
    <div class="termy">
    
    ```console
    $ pip install aiofiles
    
    ---> 100%
    ```
    
    </div>
    
    ## 使用 `Jinja2Templates`
    
    * 导入 `Jinja2Templates`
    * 创建可复用的 `templates` 对象
    * 在返回模板的*路径操作*中声明 `Request` 参数
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 22:45:16 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/extending-openapi.md

    │   ├── __init__.py
    │   ├── main.py
    └── static
        ├── redoc.standalone.js
        ├── swagger-ui-bundle.js
        └── swagger-ui.css
    ```
    
    ### 安装 `aiofiles`
    
    现在,安装 `aiofiles`:
    
    
    <div class="termy">
    
    ```console
    $ pip install aiofiles
    
    ---> 100%
    ```
    
    </div>
    
    ### 静态文件服务
    
    * 导入 `StaticFiles`
    * 在指定路径下**挂载** `StaticFiles()` 实例
    
    ```Python hl_lines="7  11"
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/it/docs/index.md

    Usate da Starlette:
    
    * <a href="http://docs.python-requests.org" target="_blank"><code>requests</code></a> - Richiesto se vuoi usare il `TestClient`.
    * <a href="https://github.com/Tinche/aiofiles" target="_blank"><code>aiofiles</code></a> - Richiesto se vuoi usare `FileResponse` o `StaticFiles`.
    * <a href="http://jinja.pocoo.org" target="_blank"><code>jinja2</code></a> - Richiesto se vuoi usare la configurazione template di default.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. docs/pl/docs/index.md

    Używane przez Starlette:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>httpx</code></a> - Wymagane jeżeli chcesz korzystać z `TestClient`.
    * <a href="https://github.com/Tinche/aiofiles" target="_blank"><code>aiofiles</code></a> - Wymagane jeżeli chcesz korzystać z `FileResponse` albo `StaticFiles`.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  5. docs/fa/docs/index.md

    استفاده شده توسط Starlette:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>HTTPX</code></a> - در صورتی که می‌خواهید از `TestClient` استفاده کنید.
    * <a href="https://github.com/Tinche/aiofiles" target="_blank"><code>aiofiles</code></a> - در صورتی که می‌خواهید از `FileResponse` و `StaticFiles` استفاده کنید.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  6. maven-compat/src/main/mdo/profiles.mdo

      xml.namespace="http://maven.apache.org/PROFILES/${version}"
      xml.schemaLocation="http://maven.apache.org/xsd/profiles-${version}.xsd">
      <id>profiles</id>
      <name>Profiles</name>
      <description><![CDATA[
        <b>Deprecated in Maven 2</b> Project-local overrides to the build process based on detected or user-provided environmental parameters.
        This is the model specification for <code>${basedir}/profiles.xml</code>.
      ]]></description>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 03 21:08:35 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  7. .idea/copyright/profiles_settings.xml

    Zalim Bashorov <******@****.***> 1520884151 +0300
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 14 12:04:57 GMT 2018
    - 723 bytes
    - Viewed (0)
  8. .idea/inspectionProfiles/profiles_settings.xml

    Yan Zhulanow <******@****.***> 1560414927 +0900
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Jun 13 08:35:27 GMT 2019
    - 177 bytes
    - Viewed (0)
  9. .idea/inspectionProfiles/profiles_settings.xml

    Marc Philipp <******@****.***> 1536852064 +0200
    XML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 13 15:24:58 GMT 2018
    - 172 bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * 🌐 Remove translation docs references to aiofiles as it's no longer needed since AnyIO. PR [#3594](https://github.com/tiangolo/fastapi/pull/3594) by [@alonme](https://github.com/alonme).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
Back to top