Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,324 for PATH (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

    @Experimental
    public interface XmlFactory<T> extends Service {
    
        @Nonnull
        default T read(@Nonnull Path path) throws XmlReaderException {
            return read(path, true);
        }
    
        @Nonnull
        default T read(@Nonnull Path path, boolean strict) throws XmlReaderException {
            return read(XmlReaderRequest.builder().path(path).strict(strict).build());
        }
    
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

            private Instant startTime;
            private Path topDirectory;
            private Path rootDirectory;
    
            private Builder() {}
    
            private Builder(
                    Map<String, String> userProperties,
                    Map<String, String> systemProperties,
                    Instant startTime,
                    Path topDirectory,
                    Path rootDirectory) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/body-fields.md

    # ボディ - フィールド
    
    `Query`や`Path`、`Body`を使って *path operation関数* のパラメータに追加のバリデーションやメタデータを宣言するのと同じように、Pydanticの`Field`を使ってPydanticモデルの内部でバリデーションやメタデータを宣言することができます。
    
    ## `Field`のインポート
    
    まず、以下のようにインポートします:
    
    {* ../../docs_src/body_fields/tutorial001.py hl[4] *}
    
    /// warning | 注意
    
    `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。
    
    ///
    
    ## モデルの属性の宣言
    
    以下のように`Field`をモデルの属性として使用することができます:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jun 22 14:34:53 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. docs_src/path_params_numeric_validations/tutorial006_py39.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 397 bytes
    - Click Count (0)
  5. src/archive/tar/reader_test.go

    			if v.obscured {
    				tf, err := obscuretestdata.DecodeToTempFile(path)
    				if err != nil {
    					t.Fatalf("obscuredtestdata.DecodeToTempFile(%s): %v", path, err)
    				}
    				path = tf
    			}
    
    			f, err := os.Open(path)
    			if err != nil {
    				t.Fatalf("unexpected error: %v", err)
    			}
    			defer f.Close()
    
    			var fr io.Reader = f
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  6. cmd/utils_test.go

    		{
    			path:   "/bucket/object///////",
    			bucket: "bucket",
    			object: "object///////",
    		},
    		// Test case 7 object has preceding separators.
    		{
    			path:   "/bucket////object////",
    			bucket: "bucket",
    			object: "///object////",
    		},
    		// Test case 8 url path is empty.
    		{
    			path:   "",
    			bucket: "",
    			object: "",
    		},
    	}
    
    	// Validate all test cases.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         * @param path the {@link Path}, must not be {@code null}
         * @throws ProjectBuilderException if the project cannot be created
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         * @see #build(ProjectBuilderRequest)
         */
        @Nonnull
        default ProjectBuilderResult build(@Nonnull Session session, @Nonnull Path path) throws ProjectBuilderException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Nov 16 20:36:20 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/body-fields.md

    ///
    
    ## Declare atributos do modelo { #declare-model-attributes }
    
    Você pode então utilizar `Field` com atributos do modelo:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    `Field` funciona da mesma forma que `Query`, `Path` e `Body`, ele possui todos os mesmos parâmetros, etc.
    
    /// note | Detalhes Técnicos
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import eu.maveniverse.domtrip.Document;
    import eu.maveniverse.domtrip.Editor;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. tests/test_custom_middleware_exception.py

    
    client = TestClient(app)
    
    
    def test_custom_middleware_exception(tmp_path: Path):
        default_pydantic_max_size = 2**16
        path = tmp_path / "test.txt"
        path.write_bytes(b"x" * (default_pydantic_max_size + 1))
    
        with client:
            with open(path, "rb") as file:
                response = client.post("/middleware", files={"file": file})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 25 21:44:40 GMT 2022
    - 2.8K bytes
    - Click Count (0)
Back to Top