Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 2,287 for Math (0.04 sec)

  1. okhttp/src/test/java/okhttp3/CookieTest.kt

          parse("http://example.com/foo/bar".toHttpUrl(), "a=b; path=quux")!!.path,
        ).isEqualTo("/foo")
        assertThat(parse("http://example.com/foo/bar".toHttpUrl(), "a=b; path=")!!.path)
          .isEqualTo("/foo")
      }
    
      @Test fun pathAttributeDoesntNeedToMatch() {
        assertThat(parse("http://example.com/".toHttpUrl(), "a=b; path=/quux")!!.path)
          .isEqualTo("/quux")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/metadata.md

    ///
    
    ### Use your tags
    
    Use the `tags` parameter with your *path operations* (and `APIRouter`s) to assign them to different tags:
    
    ```Python hl_lines="21  26"
    {!../../docs_src/metadata/tutorial004.py!}
    ```
    
    /// info
    
    Read more about tags in [Path Operation Configuration](path-operation-configuration.md#tags){.internal-link target=_blank}.
    
    ///
    
    ### Check the docs
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            ArtifactHandler artifactHandler = artifact.getArtifactHandler();
    
            StringBuilder path = new StringBuilder(128);
    
            path.append(artifact.getArtifactId()).append(ARTIFACT_SEPARATOR).append(artifact.getVersion());
    
            if (artifact.hasClassifier()) {
                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                List<ArtifactRepository> remoteRepositories,
                String downloadUrl,
                List<String> path,
                Throwable cause) {
            super(
                    constructMissingArtifactMessage(
                            message, "", groupId, artifactId, version, type, classifier, downloadUrl, path),
                    groupId,
                    artifactId,
                    version,
                    type,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSnapshotMetadata.java

        static final String SNAPSHOT = "SNAPSHOT";
    
        protected final Collection<Artifact> artifacts = new ArrayList<>();
    
        protected MavenSnapshotMetadata(Metadata metadata, Path path, Date timestamp) {
            super(metadata, path, timestamp);
        }
    
        protected static Metadata createRepositoryMetadata(Artifact artifact) {
            Metadata metadata = new Metadata();
            metadata.setModelVersion("1.1.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvokerRequest.java

        public DefaultMavenInvokerRequest(
                ParserRequest parserRequest,
                Path cwd,
                Path installationDirectory,
                Path userHomeDirectory,
                Map<String, String> userProperties,
                Map<String, String> systemProperties,
                Path topDirectory,
                Path rootDirectory,
                InputStream in,
                OutputStream out,
                OutputStream err,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_03.py

    
    def test_post_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body-multiple-params.md

    # ボディ - 複数のパラメータ
    
    これまで`Path`と`Query`をどう使うかを見てきましたが、リクエストボディの宣言のより高度な使い方を見てみましょう。
    
    ## `Path`、`Query`とボディパラメータを混ぜる
    
    まず、もちろん、`Path`と`Query`とリクエストボディのパラメータの宣言は自由に混ぜることができ、 **FastAPI** は何をするべきかを知っています。
    
    また、デフォルトの`None`を設定することで、ボディパラメータをオプションとして宣言することもできます:
    
    ```Python hl_lines="19 20 21"
    {!../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    /// note | "備考"
    
    この場合、ボディから取得する`item`はオプションであることに注意してください。デフォルト値は`None`です。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. docs_src/path_params_numeric_validations/tutorial003_an.py

    from fastapi import FastAPI, Path
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get")], q: str
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 321 bytes
    - Viewed (0)
  10. docs_src/path_params_numeric_validations/tutorial005.py

    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", gt=0, le=1000),
        q: str,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 298 bytes
    - Viewed (0)
Back to top