Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for relativeTo (0.11 sec)

  1. tests/test_openapi_servers.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI(
        servers=[
            {"url": "/", "description": "Default, relative server"},
            {
                "url": "http://staging.localhost.tiangolo.com:8000",
                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

    import jetbrains.buildServer.configs.kotlin.Dependencies
    import jetbrains.buildServer.configs.kotlin.DslContext
    import jetbrains.buildServer.configs.kotlin.FailureAction
    import jetbrains.buildServer.configs.kotlin.RelativeId
    import jetbrains.buildServer.configs.kotlin.SnapshotDependency
    import jetbrains.buildServer.configs.kotlin.Triggers
    import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 12:17:39 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_nested_models/test_tutorial008.py

            "detail": [
                {
                    "loc": ["body", 0, "url"],
                    "input": "not a valid url",
                    "msg": "Input should be a valid URL, relative URL without a base",
                    "type": "url_parsing",
                    "ctx": {"error": "relative URL without a base"},
                },
            ]
        }
    
    
    def test_post_not_a_list(client: TestClient):
        data = {"url": "http://example.com/", "name": "Example"}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial005.py

                {
                    "loc": ["body", "image", "url"],
                    "input": "not a valid url",
                    "msg": "Input should be a valid URL, relative URL without a base",
                    "type": "url_parsing",
                    "ctx": {"error": "relative URL without a base"},
                },
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. scripts/translate.py

                continue
            yield path
    
    
    def iter_en_paths_to_translate() -> Iterable[Path]:
        en_docs_root = Path("docs/en/docs/")
        for path in iter_all_en_paths():
            relpath = path.relative_to(en_docs_root)
            if not str(relpath).startswith(non_translated_sections):
                yield path
    
    
    @app.command()
    def translate_lang(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  6. .bazelrc

    # Tensorflow uses M_* math constants that only get defined by MSVC headers if
    # _USE_MATH_DEFINES is defined.
    common:windows --copt=/D_USE_MATH_DEFINES
    common:windows --host_copt=/D_USE_MATH_DEFINES
    
    # Windows has a relatively short command line limit, which TF has begun to hit.
    # See https://docs.bazel.build/versions/main/windows.html
    common:windows --features=compiler_param_file
    common:windows --features=archive_param_file
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Fri Dec 26 23:20:26 UTC 2025
    - 56.8K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * ✏️ Update Pydantic links to dotenv support. PR [#10511](https://github.com/tiangolo/fastapi/pull/10511) by [@White-Mask](https://github.com/White-Mask).
    * ✏️ Update links in `docs/en/docs/async.md` and `docs/zh/docs/async.md` to make them relative. PR [#10498](https://github.com/tiangolo/fastapi/pull/10498) by [@hasnatsajid](https://github.com/hasnatsajid).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top