- Sort Score
- Num 10 results
- Language All
Results 1201 - 1210 of 1,501 for apps (0.03 seconds)
-
tests/test_tutorial/test_response_directly/test_tutorial002.py
pytest.param("tutorial002_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.response_directly.{request.param}") client = TestClient(mod.app) return client def test_path_operation(client: TestClient): expected_content = """<?xml version="1.0"?> <shampoo> <Header> Apply shampoo here. </Header> <Body>
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.7K bytes - Click Count (0) -
helm/minio/templates/console-ingress.yaml
{{- $servicePort := .Values.consoleService.port -}} {{- $ingressPath := .Values.consoleIngress.path -}} apiVersion: {{ template "minio.consoleIngress.apiVersion" . }} kind: Ingress metadata: name: {{ $fullName }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} {{- with .Values.consoleIngress.labels }} {{- toYaml . | nindent 4 }}Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 03 06:27:17 GMT 2023 - 1.7K bytes - Click Count (0) -
helm/minio/templates/ingress.yaml
{{- $servicePort := .Values.service.port -}} {{- $ingressPath := .Values.ingress.path -}} apiVersion: {{ template "minio.ingress.apiVersion" . }} kind: Ingress metadata: name: {{ $fullName }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} {{- with .Values.ingress.labels }} {{- toYaml . | nindent 4 }}Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 03 06:27:17 GMT 2023 - 1.6K bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial002.py
], ) def get_client(request: pytest.FixtureRequest) -> TestClient: mod = importlib.import_module( f"docs_src.path_operation_configuration.{request.param}" ) return TestClient(mod.app) def test_post_items(client: TestClient): response = client.post( "/items/", json={ "name": "Foo", "description": "Item description", "price": 42.0,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 7.6K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module( f"docs_src.query_params_str_validations.{request.param}" ) client = TestClient(mod.app) return client @pytest.mark.xfail( reason="Code example is not valid. See https://github.com/fastapi/fastapi/issues/12419" ) def test_query_params_str_validations_no_query(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial002.py
pytest.param("tutorial002_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body.{request.param}") client = TestClient(mod.app) return client @pytest.mark.parametrize("price", ["50.5", 50.5]) def test_post_with_tax(client: TestClient, price: Union[str, float]): response = client.post( "/items/",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.3K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial008.py
pytest.param("tutorial008_py39"), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}") client = TestClient(mod.app) return client def test_post_body(client: TestClient): data = [ {"url": "http://example.com/", "name": "Example"}, {"url": "http://fastapi.tiangolo.com/", "name": "FastAPI"}, ]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.4K bytes - Click Count (0) -
docs/lambda/README.md
Install the necessary dependencies. ```sh pip install flask requests ``` Following is an example lambda handler. ```py from flask import Flask, request, abort, make_response import requests app = Flask(__name__) @app.route('/', methods=['POST']) def get_webhook(): if request.method == 'POST': # obtain the request event from the 'POST' call event = request.json object_context = event["getObjectContext"]
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.7K bytes - Click Count (0) -
docs/sts/dex.yaml
# Instead of reading from an external storage, use this list of clients. # # If this option isn't chosen clients may be added through the gRPC API. staticClients: - id: example-app redirectURIs: - 'http://localhost:8080/oauth2/callback' name: 'Example App' secret: ZXhhbXBsZS1hcHAtc2VjcmV0 connectors: - type: mockCallback id: mock name: Example
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 15 11:55:55 GMT 2020 - 2.7K bytes - Click Count (0) -
tests/test_tutorial/test_query_params/test_tutorial004.py
pytest.param("tutorial004_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.query_params.{request.param}") client = TestClient(mod.app) return client @pytest.mark.parametrize( ("path", "expected_json"), [ ( "/users/123/items/foo", { "item_id": "foo",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.3K bytes - Click Count (0)