Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,565 for 50$ (0.04 sec)

  1. docs_src/query_params_str_validations/tutorial002_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(max_length=50)] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 309 bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial004_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 381 bytes
    - Viewed (0)
  3. docs_src/settings/tutorial001_pv1.py

    from fastapi import FastAPI
    from pydantic import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    
    settings = Settings()
    app = FastAPI()
    
    
    @app.get("/info")
    async def info():
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 410 bytes
    - Viewed (0)
  4. docs_src/query_params_str_validations/tutorial010_py310.py

            default=None,
            alias="item-query",
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
            max_length=50,
            pattern="^fixedquery$",
            deprecated=True,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 542 bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.css

      background-color: rgba(1,1,1,0.1);
    }
    
    .dialog {
      {{/* Displayed centered horizontally near the top */}}
      display: none;
      position: fixed;
      margin: 0px;
      top: 60px;
      left: 50%;
      transform: translateX(-50%);
    
      z-index: 3;
      font-size: 125%;
      background-color: #ffffff;
      box-shadow: 0 1px 5px rgba(0,0,0,.3);
    }
    .dialog-header {
      font-size: 120%;
      border-bottom: 1px solid #CCCCCC;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. docs_src/query_params_str_validations/tutorial004_an.py

    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 410 bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyConstraintHandler.java

         * that they would override any other version found in the graph.
         *
         * @param notation the coordinates of the platform
         *
         * @since 5.0
         */
        DependencyConstraint enforcedPlatform(Object notation);
    
        /**
         * Declares a constraint on an enforced platform. If the target coordinates represent multiple
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 23 15:47:10 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  8. test/fixedbugs/issue52697.go

    //go:build !386 && !amd64p32 && !arm && !mips && !mipsle
    
    package main
    
    func g() { // GC_ERROR "stack frame too large"
    	xs := [3000 * 2000][33]int{}
    	for _, x := range xs {
    		if len(x) > 50 {
    
    		}
    	}
    }
    
    func main() { // GC_ERROR "stack frame too large"
    	defer f()
    	g()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 16:32:07 UTC 2023
    - 459 bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial010_an_py39.py

                alias="item-query",
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
                max_length=50,
                pattern="^fixedquery$",
                deprecated=True,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 635 bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial003_an.py

    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[Union[str, None], Query(min_length=3, max_length=50)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 372 bytes
    - Viewed (0)
Back to top