Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for str (0.18 sec)

  1. tests/test_include_router_defaults_overrides.py

    callback_router0 = APIRouter()
    
    
    @callback_router0.get("/")
    async def callback0(level0: str):
        pass  # pragma: nocover
    
    
    callback_router1 = APIRouter()
    
    
    @callback_router1.get("/")
    async def callback1(level1: str):
        pass  # pragma: nocover
    
    
    callback_router2 = APIRouter()
    
    
    @callback_router2.get("/")
    async def callback2(level2: str):
        pass  # pragma: nocover
    
    
    callback_router3 = APIRouter()
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    def main(
        item_id: int = Path(default=..., gt=0),
        query: str = Query(default=..., max_length=10),
        session: str = Cookie(default=..., min_length=3),
        x_trace: str = Header(default=..., title="Tracing header"),
    ):
        return {"message": "Hello World"}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  3. doc/go_spec.html

    The non-blank variable names on the left side of <code>:=</code>
    must be <a href="#Uniqueness_of_identifiers">unique</a>.
    </p>
    
    <pre>
    field1, offset := nextField(str, 0)
    field2, offset := nextField(str, offset)  // redeclares offset
    x, y, x := 1, 2, 3                        // illegal: x repeated on left side of :=
    </pre>
    
    <p>
    Short variable declarations may appear only inside functions.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top