- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for union_ (0.07 seconds)
-
docs/en/docs/release-notes.md
```Python from typing import Union from fastapi import Cookie, FastAPI, Header, Path, Query app = FastAPI() @app.get("/items/{item_id}") def main( item_id: int = Path(gt=0), query: Union[str, None] = Query(default=None, max_length=10), session: Union[str, None] = Cookie(default=None, min_length=3), x_trace: Union[str, None] = Header(default=None, title="Tracing header"),
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0) -
doc/go_spec.html
interface { ~[]byte // the underlying type of []byte is itself ~MyInt // illegal: the underlying type of MyInt is not MyInt ~error // illegal: error is an interface } </pre> <p> Union elements denote unions of type sets: </p> <pre> // The Float interface represents all floating-point types // (including any named types whose underlying types are // either float32 or float64).Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1)