Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 512 for img (0.04 sec)

  1. docs_src/additional_responses/tutorial002.py

        responses={
            200: {
                "content": {"image/png": {}},
                "description": "Return the JSON item or an image.",
            }
        },
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 628 bytes
    - Viewed (0)
  2. docs/de/docs/advanced/behind-a-proxy.md

    Sie können das unter <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a> sehen:
    
    <img src="/img/tutorial/behind-a-proxy/image01.png">
    
    Wenn wir jedoch unter der „offiziellen“ URL, über den Proxy mit Port `9999`, unter `/api/v1/docs`, auf die Dokumentationsoberfläche zugreifen, funktioniert es ordnungsgemäß! 🎉
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/behind-a-proxy.md

    <img src="/img/tutorial/behind-a-proxy/image01.png">
    
    但输入**官方**链接 `/api/v1/docs`,并使用端口 `9999` 访问 API 文档,就能正常运行了!🎉
    
    输入 <a href="http://127.0.0.1:9999/api/v1/docs" class="external-link" target="_blank">http://127.0.0.1:9999/api/v1/docs 查看文档:</a>
    
    <img src="/img/tutorial/behind-a-proxy/image02.png">
    
    一切正常。 ✔️
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/security/simple-oauth2.md

    ### Autenticação
    
    Clique no botão "Authorize".
    
    Use as credenciais:
    
    User: `johndoe`
    
    Password: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    Após autenticar no sistema, você verá assim:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### Obtenha seus próprios dados de usuário
    
    Agora use a operação `GET` com o caminho `/users/me`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/bigger-applications.md

    * 🎏 ⏮️ `app/routers/users.py`, ⚫️ ➕1️⃣ 🔁: `app.routers.users`.
    * 📤 📁 `app/internal/` ⏮️ ➕1️⃣ 📁 `__init__.py`, ⚫️ ➕1️⃣ "🐍 📦": `app.internal`.
    *  &amp; 📁 `app/internal/admin.py` ➕1️⃣ 🔁: `app.internal.admin`.
    
    <img src="/img/tutorial/bigger-applications/package.svg">
    
    🎏 📁 📊 ⏮️ 🏤:
    
    ```
    .
    ├── app                  # "app" is a Python package
    │   ├── __init__.py      # this file makes "app" a "Python package"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. buildscripts/verify-healing-with-root-disks.sh

    function prepare_block_devices() {
    	set -e
    	mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/
    	sudo modprobe loop
    	for i in 1 2 3 4; do
    		dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
    		device=$(sudo losetup --find --show ${WORK_DIR}/disks/img.${i})
    		sudo mkfs.ext4 -F ${device}
    		mkdir -p ${WORK_DIR}/mnt/disk${i}/
    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/path-params.md

    И теперь, когда откроете браузер по адресу: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>, то увидите вот такую автоматически сгенерированную документацию API:
    
    <img src="/img/tutorial/path-params/image01.png">
    
    /// check | "Заметка"
    
    Ещё раз, просто используя определения типов, **FastAPI** обеспечивает автоматическую интерактивную документацию (с интеграцией Swagger UI).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/metadata.md

    ```Python hl_lines="3-16  19-32"
    {!../../docs_src/metadata/tutorial001.py!}
    ```
    
    /// tip
    
    `description` 필드에 마크다운을 사용할 수 있으며, 출력에서 렌더링됩니다.
    
    ///
    
    이 구성을 사용하면 문서 자동화(로 생성된) API 문서는 다음과 같이 보입니다:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## 라이선스 식별자
    
    OpenAPI 3.1.0 및 FastAPI 0.99.0부터 `license_info`에 `identifier`를 URL 대신 설정할 수 있습니다.
    
    예:
    
    ```Python hl_lines="31"
    {!../../docs_src/metadata/tutorial001_1.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 10:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

    At the same point, you try to trigger the autocomplete with `Ctrl+Space` and you see:
    
    <img src="/img/python-types/image02.png">
    
    With that, you can scroll, seeing the options, until you find the one that "rings a bell":
    
    <img src="/img/python-types/image03.png">
    
    ## More motivation
    
    Check this function, it already has type hints:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/response-status-code.md

    ///
    
    Das wird:
    
    * Diesen Statuscode mit der Response zurücksenden.
    * Ihn als solchen im OpenAPI-Schema dokumentieren (und somit in den Benutzeroberflächen):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | "Hinweis"
    
    Einige Responsecodes (siehe nächster Abschnitt) kennzeichnen, dass die Response keinen Body hat.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:59:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top