- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 954 for annotaties (0.16 sec)
-
docs_src/query_params_str_validations/tutorial012_an_py39.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 227 bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
decodedWh.Webhooks[i].ClientConfig.CABundle = []byte(config.CABundle) } decodedWh.Labels = generateLabels(decodedWh.Labels, config.Labels, opts.CustomLabels, opts.UserManaged) decodedWh.Annotations = maps.MergeCopy(decodedWh.Annotations, config.Annotations) for i := range decodedWh.Webhooks { if failurePolicy, ok := config.FailurePolicy[decodedWh.Webhooks[i].Name]; ok { decodedWh.Webhooks[i].FailurePolicy = failurePolicy } }
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.3K bytes - Viewed (0) -
docs_src/header_params/tutorial001_an.py
from typing import Union from fastapi import FastAPI, Header from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items(user_agent: Annotated[Union[str, None], Header()] = None):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 259 bytes - Viewed (0) -
docs_src/request_form_models/tutorial001_an.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Sep 05 15:16:50 UTC 2024 - 278 bytes - Viewed (0) -
docs_src/header_params/tutorial003_an.py
from typing import List, Union from fastapi import FastAPI, Header from typing_extensions import Annotated app = FastAPI() @app.get("/items/") async def read_items(x_token: Annotated[Union[List[str], None], Header()] = None):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 269 bytes - Viewed (0) -
docs_src/security/tutorial006_an.py
from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials from typing_extensions import Annotated app = FastAPI() security = HTTPBasic() @app.get("/users/me") def read_current_user(credentials: Annotated[HTTPBasicCredentials, Depends(security)]):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 371 bytes - Viewed (0) -
docs_src/security/tutorial006_an_py39.py
from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() @app.get("/users/me") def read_current_user(credentials: Annotated[HTTPBasicCredentials, Depends(security)]):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 361 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial006_an_py39.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 294 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial006d_an.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:36:32 UTC 2024 - 310 bytes - Viewed (0) -
docs_src/dependencies/tutorial005_an.py
from typing import Union from fastapi import Cookie, Depends, FastAPI from typing_extensions import Annotated app = FastAPI() def query_extractor(q: Union[str, None] = None): return q def query_or_cookie_extractor( q: Annotated[str, Depends(query_extractor)], last_query: Annotated[Union[str, None], Cookie()] = None, ): if not q: return last_query return q @app.get("/items/")
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 558 bytes - Viewed (0)