Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 1,448 for PATH (0.02 seconds)

  1. docs/es/docs/tutorial/handling-errors.md

    Esto también significa que si estás dentro de una función de utilidad que estás llamando dentro de tu *path operation function*, y lanzas el `HTTPException` desde dentro de esa función de utilidad, no se ejecutará el resto del código en la *path operation function*, terminará ese request de inmediato y enviará el error HTTP del `HTTPException` al cliente.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/security/first-steps.md

    ///
    
    Este parámetro no crea ese endpoint / *path operation*, pero declara que la URL `/token` será la que el cliente deberá usar para obtener el token. Esa información se usa en OpenAPI, y luego en los sistemas de documentación interactiva del API.
    
    Pronto también crearemos la verdadera *path operation*.
    
    /// info | Información
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. docs/en/docs/virtual-environments.md

    One of those variables is the `PATH` variable.
    
    /// tip
    
    You can learn more about the `PATH` environment variable in the [Environment Variables](environment-variables.md#path-environment-variable){.internal-link target=_blank} section.
    
    ///
    
    Activating a virtual environment adds its path `.venv/bin` (on Linux and macOS) or `.venv\Scripts` (on Windows) to the `PATH` environment variable.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 05:09:25 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  4. ci/official/bisect.sh

    #   TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job)
    #   TF_BISECT_SCRIPT: The build script path relative to the TF root dir, e.g.
    #     ci/official/wheel.sh
    #   TFCI: The env config path, relative to the TF root dir, e.g.
    #     ci/official/envs/an_env_config
    #
    # Note that you can combine bisect.sh with any.sh to bisect a single test:
    #
    #   export TFCI=...
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

            "org/gradle/testkit/**",
            "org/gradle/testing/**",
            "org/gradle/vcs/**",
            "org/gradle/work/**",
            "org/gradle/workers/**",
            "org/gradle/util/**", // contains Path that clashes with `org.gradle.api.model.Path` imported above. This line should not appear before "org/gradle/api/**"
        )
    
        val excludes = listOf("**/internal/**")
    
        private val includePackagePatterns: List<Pattern> by lazy {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 12 23:20:08 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/PomArtifactTransformer.java

     * under the License.
     */
    package org.apache.maven.internal.transformation;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.nio.file.Path;
    
    import org.apache.maven.api.services.ModelBuilderException;
    import org.apache.maven.api.services.ModelSource;
    import org.apache.maven.project.MavenProject;
    import org.eclipse.aether.RepositorySystemSession;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_path_params/test_tutorial005.py

        response = client.get("/models/foo")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "enum",
                    "loc": ["path", "model_name"],
                    "msg": "Input should be 'alexnet', 'resnet' or 'lenet'",
                    "input": "foo",
                    "ctx": {"expected": "'alexnet', 'resnet' or 'lenet'"},
                }
            ]
        }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_cookie_params/test_tutorial001.py

                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    def test(path, cookies, expected_status, expected_response, mod: ModuleType):
        client = TestClient(mod.app, cookies=cookies)
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema(mod: ModuleType):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_header_params/test_tutorial001.py

        return client
    
    
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_header_params/test_tutorial002.py

                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top