Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 128 for important (0.17 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py

                        "required": ["item", "user", "importance"],
                        "type": "object",
                        "properties": {
                            "item": {"$ref": "#/components/schemas/Item"},
                            "user": {"$ref": "#/components/schemas/User"},
                            "importance": {"title": "Importance", "type": "integer"},
                        },
                    },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. docs_src/body_multiple_params/tutorial004_py310.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
        q: str | None = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 10 18:49:18 GMT 2023
    - 603 bytes
    - Viewed (0)
  3. docs_src/body_multiple_params/tutorial004_an.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: Annotated[int, Body(gt=0)],
        q: Union[str, None] = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 703 bytes
    - Viewed (0)
  4. cmd/admin-handler-utils.go

    // wraps import error for more context
    func importError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error importing %s with: %w", fname, err))
    	}
    	return toAPIError(ctx, fmt.Errorf("error importing %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            assertEquals(1, classRealm.getURLs().length);
            assertThat(classRealm.getURLs()[0].getPath(), endsWith("local/repository/some/path"));
    
            verifier.verify(logger, calls(1)).debug("Importing foreign packages into class realm {}", "maven.api");
            verifier.verify(logger, calls(1)).debug("  Imported: {} < {}", "group1:artifact1", "test");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/body-multiple-params.md

    복합 데이터의 검증을 수행하고 OpenAPI 스키마 및 자동 문서를 문서화합니다.
    
    ## 본문 내의 단일 값
    
    쿼리 및 경로 매개변수에 대한 추가 데이터를 정의하는 `Query`와 `Path`와 같이, **FastAPI**는 동등한 `Body`를 제공합니다.
    
    예를 들어 이전의 모델을 확장하면, `item`과 `user`와 동일한 본문에 또 다른 `importance`라는 키를 갖도록 할 수있습니다.
    
    단일 값을 그대로 선언한다면, **FastAPI**는 쿼리 매개변수로 가정할 것입니다.
    
    하지만, **FastAPI**의 `Body`를 사용해 다른 본문 키로 처리하도록 제어할 수 있습니다:
    
    
    ```Python hl_lines="23"
    {!../../../docs_src/body_multiple_params/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. docs/pt/docs/deployment/https.md

    # Sobre HTTPS
    
    É fácil assumir que HTTPS é algo que é apenas "habilitado" ou não.
    
    Mas é bem mais complexo do que isso.
    
    !!! tip "Dica"
        Se você está com pressa ou não se importa, continue com as seções seguintes para instruções passo a passo para configurar tudo com diferentes técnicas.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 05 10:40:05 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/index.md

    <font color="#3465A4">INFO    </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
     ╭─ <font color="#8AE234"><b>Python module file</b></font> ─╮
     │                      │
     │  🐍 main.py          │
     │                      │
     ╰──────────────────────╯
    
    <font color="#3465A4">INFO    </font> Importing module <font color="#4E9A06">main</font>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts

        implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
    
        /*
         We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore
         the same as it is in `:fir:tree:tree-generator` module to the project be imported correctly
         */
        compileOnly(intellijCore())
        compileOnly(libs.guava)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Oct 18 18:42:40 GMT 2023
    - 1K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-multiple-params.md

    Por exemplo, extendendo o modelo anterior, você poder decidir por ter uma outra chave `importance` no mesmo corpo, além de `item` e `user`.
    
    Se você declará-lo como é, porque é um valor singular, o **FastAPI** assumirá que se trata de um parâmetro de consulta.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top