Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 1,839 for note (0.02 seconds)

  1. docs/en/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 25 11:01:37 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        /**
         * Returns the plugin context for given key ({@link PluginDescriptor#getPluginLookupKey()} and
         * {@link MavenProject}, never returns {@code null} as if context not present, creates it.
         *
         * <strong>Implementation note:</strong> while this method return type is {@link Map}, the returned map instance
         * implements {@link ConcurrentMap} as well.
         *
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/extra-models.md

    OpenAPI에서는 이를 `anyOf`로 정의합니다.
    
    이를 위해 표준 Python 타입 힌트인 <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>을 사용할 수 있습니다:
    
    /// note | 참고
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 30 13:38:33 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/resources/META-INF/maven/extension.xml

        <exportedArtifact>org.eclipse.aether:aether-util</exportedArtifact>
        <exportedArtifact>org.eclipse.aether:aether-connector-basic</exportedArtifact>
    
        <!--
          | NOTE: Don't exclude the wagons or any of their dependencies (apart from the wagon API). This would otherwise
          | provoke linkage errors for wagons contributed by build extensions. We also don't need to exclude the wagons
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:07:06 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/testing.md

    /// tip | 팁
    
    테스트를 위한 함수는 `async def` 가 아니라 `def` 로 작성됨에 주의하세요.
    
    그리고 클라이언트에 대한 호출도 `await` 를 사용하지 않는 일반 호출입니다.
    
    이렇게 하여 복잡한 과정 없이 `pytest` 를 직접적으로 사용할 수 있습니다.
    
    ///
    
    /// note | 기술 세부사항
    
    `from starlette.testclient import TestClient` 역시 사용할 수 있습니다.
    
    **FastAPI** 는 개발자의 편의를 위해 `starlette.testclient` 를 `fastapi.testclient` 로도 제공할 뿐입니다. 이는 단지 `Starlette` 에서 직접 가져오는지의 차이일 뿐입니다.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. docs/ko/docs/python-types.md

        * `dict`의 값(value)는 `float`타입이다. (각 아이템의 가격(price))
    
    #### `Optional`
    
    `str`과 같이 타입을 선언할 때 `Optional`을 쓸 수도 있는데, "선택적(Optional)"이기때문에 `None`도 될 수 있습니다:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    `Optional[str]`을 `str` 대신 쓰게 되면, 특정 값이 실제로는 `None`이 될 수도 있는데 항상 `str`이라고 가정하는 상황에서 에디터가 에러를 찾게 도와줄 수 있습니다.
    
    #### Generic(제네릭) 타입
    
    이 타입은 대괄호 안에 매개변수를 가지며, 종류는:
    
    * `List`
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * <p>
     * Resolves dependencies for the artifacts in context of the lifecycle build
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    @Named
    @Singleton
    public class MojoDescriptorCreator {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. scripts/translate.py

            »»»
    
    
    ### Special blocks
    
    There are special blocks of notes, tips and others that look like:
    
        «««
        /// note
        »»»
    
    To translate it, keep the same line and add the translation after a vertical bar.
    
    For example, if you were translating to Spanish, you would write:
    
        «««
        /// note | Nota
        »»»
    
    Some examples in Spanish:
    
        Source:
    
            «««
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

        }
    
        /**
         * The {@code javax.tool} enumeration value corresponding to this {@code JavaPathType}, or {@code null} if none.
         *
         * @see #location()
         */
        private final JavaFileManager.Location location;
    
        /**
         * The tools option for this path, or {@code null} if none.
         *
         * @see #option()
         */
        private final String option;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  10. docs/es/docs/tutorial/dependencies/index.md

    No importa. **FastAPI** sabrá qué hacer.
    
    /// note | Nota
    
    Si no lo sabes, revisa la sección [Async: *"¿Con prisa?"*](../../async.md#in-a-hurry){.internal-link target=_blank} sobre `async` y `await` en la documentación.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top