Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 490 for Pschera (0.23 sec)

  1. manifests/charts/gateway/values.schema.json

    {
      "$schema": "http://json-schema.org/schema#",
      "type": "object",
      "additionalProperties": false,
      "$defs": {
        "values": {
          "type": "object",
          "properties": {
            "global": {
              "type": "object"
            },
            "affinity": {
              "type": "object"
            },
            "securityContext": {
              "type": [
                "object",
                "null"
              ]
            },
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. schema/schema_helper_test.go

    			if r.Name != relation.Name {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Name, relation.Name)
    			}
    
    			if r.Type != relation.Type {
    				t.Errorf("schema %v relation name expects %v, but got %v", s, r.Type, relation.Type)
    			}
    
    			if r.Schema.Name != relation.Schema {
    				t.Errorf("schema %v relation's schema expects %v, but got %v", s, relation.Schema, r.Schema.Name)
    			}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/schema-extra-example.md

    # スキーマの追加 - 例
    
    JSON Schemaに追加する情報を定義することができます。
    
    一般的なユースケースはこのドキュメントで示されているように`example`を追加することです。
    
    JSON Schemaの追加情報を宣言する方法はいくつかあります。
    
    ## Pydanticの`schema_extra`
    
    <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Pydanticのドキュメント: スキーマのカスタマイズ</a>で説明されているように、`Config`と`schema_extra`を使ってPydanticモデルの例を宣言することができます:
    
    ```Python hl_lines="15 16 17 18 19 20 21 22 23"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/schema-extra-example.md

    Aqui estão várias formas de se fazer isso.
    
    ## `schema_extra` do Pydantic
    
    Você pode declarar um `example` para um modelo Pydantic usando `Config` e `schema_extra`, conforme descrito em <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Documentação do Pydantic: Schema customization</a>:
    
    ```Python hl_lines="15-23"
    {!../../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/schema-extra-example.md

    一个常见的用例是添加一个将在文档中显示的`example`。
    
    有几种方法可以声明额外的 JSON 模式信息。
    
    ## Pydantic `schema_extra`
    
    您可以使用 `Config` 和 `schema_extra` 为Pydantic模型声明一个示例,如<a href="https://docs.pydantic.dev/latest/concepts/json_schema/#schema-customization" class="external-link" target="_blank">Pydantic 文档:定制 Schema </a>中所述:
    
    === "Python 3.10+"
    
        ```Python hl_lines="13-21"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/schema-extra-example.md

    👆 💪 📣 🖼 💽 👆 📱 💪 📨.
    
    📥 📚 🌌 ⚫️.
    
    ## Pydantic `schema_extra`
    
    👆 💪 📣 `example` Pydantic 🏷 ⚙️ `Config` &amp; `schema_extra`, 🔬 <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#customizing-json-schema" class="external-link" target="_blank">Pydantic 🩺: 🔗 🛃</a>:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="15-23"
        {!> ../../../docs_src/schema_extra_example/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. tests/test_repeated_dependency_schema.py

                }
            }
        },
    }
    
    
    def test_schema():
        response = client.get("/openapi.json")
        assert response.status_code == status.HTTP_200_OK
        actual_schema = response.json()
        assert actual_schema == schema
        assert (
            len(actual_schema["paths"]["/"]["get"]["parameters"]) == 1
        )  # primary goal of this test
    
    
    def test_response():
        response = client.get("/", headers={"someheader": "hello"})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. tests/test_custom_schema_fields.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
    
        if PYDANTIC_V2:
            model_config = {
                "json_schema_extra": {
                    "x-something-internal": {"level": 4},
                }
            }
        else:
    
            class Config:
                schema_extra = {
                    "x-something-internal": {"level": 4},
                }
    
    
    @app.get("/foo", response_model=Item)
    def foo():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  9. tests/test_param_include_in_schema.py

        return {"hidden_path": hidden_path}
    
    
    @app.get("/hidden_query")
    async def hidden_query(
        hidden_query: Optional[str] = Query(default=None, include_in_schema=False),
    ):
        return {"hidden_query": hidden_query}
    
    
    openapi_schema = {
        "openapi": "3.1.0",
        "info": {"title": "FastAPI", "version": "0.1.0"},
        "paths": {
            "/hidden_cookie": {
                "get": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. dbflute_fess/playsql/replace-schema.sql

    jflute <******@****.***> 1437804256 +0900
    Others
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Jul 25 06:04:16 GMT 2015
    - 449 bytes
    - Viewed (0)
Back to top