Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 2,146 for none (0.44 sec)

  1. docs_src/query_params_str_validations/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 367 bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial004_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None, Query(min_length=3, max_length=50, pattern="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 368 bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/orig/view/search.jsp

    				href="#searchOptions" class="badge text-bg-primary text-decoration-none"
    				data-bs-toggle="collapse"> <la:message
    						key="labels.searchoptions_num" arg0="${f:h(num)}" />
    			</a></li>
    			<li class="list-inline-item"><la:message key="labels.searchoptions_menu_lang" /> <a
    				href="#searchOptions" class="badge text-bg-primary text-decoration-none"
    				data-bs-toggle="collapse"> <c:if test="${empty lang}">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/search.jsp

    				href="#searchOptions" class="badge text-bg-primary text-decoration-none"
    				data-bs-toggle="collapse"> <la:message
    						key="labels.searchoptions_num" arg0="${f:h(num)}" />
    			</a></li>
    			<li class="list-inline-item"><la:message key="labels.searchoptions_menu_lang" /> <a
    				href="#searchOptions" class="badge text-bg-primary text-decoration-none"
    				data-bs-toggle="collapse"> <c:if test="${empty lang}">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. docs_src/path_params_numeric_validations/tutorial001_py310.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"),
        q: str | None = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 332 bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

      fun enqueuedJobsRunImmediately() {
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        executor.assertJobs("http://a/1")
    
        assertThat(eventRecorder.eventSequence).none { it.isInstanceOf<DispatcherQueueStart>() }
        assertThat(eventRecorder.eventSequence).none { it.isInstanceOf<DispatcherQueueEnd>() }
      }
    
      @Test
      fun maxRequestsEnforced() {
        dispatcher.maxRequests = 3
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. scripts/label_approved.py

    from pydantic_settings import BaseSettings
    
    
    class LabelSettings(BaseModel):
        await_label: str | None = None
        number: int
    
    
    default_config = {"approved-2": LabelSettings(await_label="awaiting-review", number=2)}
    
    
    class Settings(BaseSettings):
        github_repository: str
        token: SecretStr
        debug: bool | None = False
        config: dict[str, LabelSettings] | Literal[""] = default_config
    
    
    settings = Settings()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 17 07:50:19 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

     */
    @Experimental
    @Immutable
    public enum DependencyScope {
    
        /**
         * None. Allows you to declare dependencies (for example to alter reactor build order) but in reality dependencies
         * in this scope are not part of any path scope.
         */
        NONE("none", false),
    
        /**
         * Undefined. When no scope is explicitly given, UNDEFINED will be used, but its meaning will depend on
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. tests/test_request_params/test_form/test_list.py

        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["body", "p"],
                    "msg": "Field required",
                    "input": IsOneOf(None, {}),
                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-str", "/model-required-list-str"],
    )
    def test_required_list_str(path: str):
        client = TestClient(app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial008_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 434 bytes
    - Viewed (0)
Back to top