Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 2,013 for none (0.05 sec)

  1. docs/zh/docs/tutorial/metadata.md

    {!../../docs_src/metadata/tutorial002.py!}
    ```
    
    如果你想完全禁用 OpenAPI 模式,可以将其设置为 `openapi_url=None`,这样也会禁用使用它的文档用户界面。
    
    ## 文档 URLs
    
    你可以配置两个文档用户界面,包括:
    
    * **Swagger UI**:服务于 `/docs`。
        * 可以使用参数 `docs_url` 设置它的 URL。
        * 可以通过设置 `docs_url=None` 禁用它。
    * ReDoc:服务于 `/redoc`。
        * 可以使用参数 `redoc_url` 设置它的 URL。
        * 可以通过设置 `redoc_url=None` 禁用它。
    
    例如,设置 Swagger UI 服务于 `/documentation` 并禁用 ReDoc:
    
    ```Python hl_lines="3"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/metadata.md

         * Sie können deren URL mit dem Parameter `docs_url` festlegen.
         * Sie können sie deaktivieren, indem Sie `docs_url=None` festlegen.
    * **ReDoc**: bereitgestellt unter `/redoc`.
         * Sie können deren URL mit dem Parameter `redoc_url` festlegen.
         * Sie können sie deaktivieren, indem Sie `redoc_url=None` festlegen.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. helm-releases/minio-3.6.4.tgz

    affinity: {} ## List of buckets to be created after minio install ## buckets: # # Name of the bucket # - name: bucket1 # # Policy to be set on the # # bucket [none|download|upload|public] # policy: none # # Purge if bucket exists already # purge: false # # set versioning for # # bucket [true|false] # versioning: false # - name: bucket2 # policy: none # purge: false # versioning: true ## Additional Annotations for the Kubernetes Job makeBucketJob makeBucketJob: podAnnotations: annotations: securityContext:...
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Apr 12 01:30:28 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/body.md

    {!> ../../docs_src/body/tutorial001.py!}
    ```
    
    ////
    
    与声明查询参数一样,包含默认值的模型属性是可选的,否则就是必选的。默认值为 `None` 的模型属性也是可选的。
    
    例如,上述模型声明如下 JSON **对象**(即 Python **字典**):
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ……由于 `description` 和 `tax` 是可选的(默认值为 `None`),下面的 JSON **对象**也有效:
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Foo",
            "price": 42,
            "description": None,
            "tax": None,
            "tags": [],
        }
    
    
    @needs_pydanticv2
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "files"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "files"],
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. helm/minio/templates/_helper_create_bucket.txt

    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.buckets }}
    {{ $global := . }}
    # Create the buckets
    {{- range .Values.buckets }}
    createBucket {{ tpl .name $global }} {{ .policy | default "none" | quote }} {{ .purge | default false }} {{ .versioning | default false }} {{ .objectlocking | default false }}
    {{- end }}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jan 12 18:18:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/body-updates.md

    ///
    
    /// note | "Технические детали"
    
    Обратите внимание, что входная модель по-прежнему валидируется.
    
    Таким образом, если вы хотите получать частичные обновления, в которых могут быть опущены все атрибуты, вам необходимо иметь модель, в которой все атрибуты помечены как необязательные (со значениями по умолчанию или `None`).
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/body-updates.md

    ```
    
    ////
    
    /// tip
    
    👆 💪 🤙 ⚙️ 👉 🎏 ⚒ ⏮️ 🇺🇸🔍 `PUT` 🛠️.
    
    ✋️ 🖼 📥 ⚙️ `PATCH` ↩️ ⚫️ ✍ 👫 ⚙️ 💼.
    
    ///
    
    /// note
    
    👀 👈 🔢 🏷 ✔.
    
    , 🚥 👆 💚 📨 🍕 ℹ 👈 💪 🚫 🌐 🔢, 👆 💪 ✔️ 🏷 ⏮️ 🌐 🔢 ™ 📦 (⏮️ 🔢 💲 ⚖️ `None`).
    
    🔬 ⚪️➡️ 🏷 ⏮️ 🌐 📦 💲 **ℹ** & 🏷 ⏮️ ✔ 💲 **🏗**, 👆 💪 ⚙️ 💭 🔬 [➕ 🏷](extra-models.md){.internal-link target=_blank}.
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. scripts/playwright/separate_openapi_schemas/image01.py

    import subprocess
    
    from playwright.sync_api import Playwright, sync_playwright
    
    
    # Run playwright codegen to generate the code below, copy paste the sections in run()
    def run(playwright: Playwright) -> None:
        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:14:46 UTC 2024
    - 974 bytes
    - Viewed (0)
Back to top