Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1601 - 1610 of 2,588 for Gist (0.02 seconds)

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

  1. docs_src/query_param_models/tutorial001_an_py310.py

    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: Annotated[FilterParams, Query()]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 443 bytes
    - Click Count (0)
  2. docs_src/python_types/tutorial011_py39.py

    from datetime import datetime
    from typing import Union
    
    from pydantic import BaseModel
    
    
    class User(BaseModel):
        id: int
        name: str = "John Doe"
        signup_ts: Union[datetime, None] = None
        friends: list[int] = []
    
    
    external_data = {
        "id": "123",
        "signup_ts": "2017-06-01 12:22",
        "friends": [1, "2", b"3"],
    }
    user = User(**external_data)
    print(user)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 02 15:56:35 GMT 2023
    - 492 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        public HtmlResponse index() {
            return asListHtml();
        }
    
        /**
         * Show the list page.
         * @param pageNumber The page number.
         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  4. docs_src/header_param_models/tutorial002_py310.py

    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        model_config = {"extra": "forbid"}
    
        host: str
        save_data: bool
        if_modified_since: str | None = None
        traceparent: str | None = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: CommonHeaders = Header()):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 392 bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

      }
    
      /** Returns a snapshot of the calls currently awaiting execution. */
      @Synchronized
      fun queuedCalls(): List<Call> = readyAsyncCalls.map { it.call }.unmodifiable()
    
      /** Returns a snapshot of the calls currently being executed. */
      @Synchronized
      fun runningCalls(): List<Call> = (runningSyncCalls + runningAsyncCalls.map { it.call }).unmodifiable()
    
      @Synchronized
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  6. docs_src/body_nested_models/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list[str] = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 369 bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch.jsp

                                            </div>
                                        </div>
                                    </la:form>
                                </div>
                                <%-- List --%>
                                <c:if test="${keyMatchPager.allRecordCount == 0}">
                                    <div class="row top10">
                                        <div class="col-sm-12">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. okhttp-logging-interceptor/api/logging-interceptor.api

    	public fun dispatcherQueueStart (Lokhttp3/Call;Lokhttp3/Dispatcher;)V
    	public fun dnsEnd (Lokhttp3/Call;Ljava/lang/String;Ljava/util/List;)V
    	public fun dnsStart (Lokhttp3/Call;Ljava/lang/String;)V
    	public fun proxySelectEnd (Lokhttp3/Call;Lokhttp3/HttpUrl;Ljava/util/List;)V
    	public fun proxySelectStart (Lokhttp3/Call;Lokhttp3/HttpUrl;)V
    	public fun requestBodyEnd (Lokhttp3/Call;J)V
    	public fun requestBodyStart (Lokhttp3/Call;)V
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 15:15:46 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent.jsp

                                            </div>
                                        </div>
                                    </la:form>
                                </div>
                                <%-- List --%>
                                <c:if test="${relatedContentPager.allRecordCount == 0}">
                                    <div class="row top10">
                                        <div class="col-sm-12">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

        }
    
        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
         * @return The list of problems that were encountered, must not be {@code null}.
         */
        @Nonnull
        default ProblemCollector<BuilderProblem> validate(@Nonnull Settings settings) {
            return validate(settings, false);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top