- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for define (0.17 sec)
-
fastapi/encoders.py
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 10.7K bytes - Viewed (0) -
fastapi/routing.py
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 170.1K bytes - Viewed (0) -
fastapi/applications.py
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 172.2K bytes - Viewed (0) -
fastapi/datastructures.py
from starlette.datastructures import UploadFile as StarletteUploadFile from typing_extensions import Annotated, Doc class UploadFile(StarletteUploadFile): """ A file uploaded in a request. Define it as a *path operation function* (or dependency) parameter. If you are using a regular `def` function, you can use the `upload_file.file` attribute to access the raw standard Python file (blocking, not async), useful and
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 5.6K bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial001.py
from fastapi import FastAPI app = FastAPI() @app.get("/items/", operation_id="some_specific_id_you_define") async def read_items():
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 167 bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py
"content": {"application/json": {"schema": {}}}, } }, "summary": "Read Items", "operationId": "some_specific_id_you_define", } } },
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1K bytes - Viewed (0) -
fastapi/security/oauth2.py
) else: return None # pragma: nocover return param class SecurityScopes: """ This is a special class that you can define in a parameter in a dependency to obtain the OAuth2 scopes required by all the dependencies in the same chain. This way, multiple dependencies can have different scopes, even when used in the
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
configure.py
Returns: string of native cuda compute capabilities, separated by comma. """ device_query_bin = os.path.join( environ_cp.get('CUDA_TOOLKIT_PATH'), 'extras/demo_suite/deviceQuery') if os.path.isfile(device_query_bin) and os.access(device_query_bin, os.X_OK): try: output = run_shell(device_query_bin).split('\n') pattern = re.compile('[0-9]*\\.[0-9]*')
Python - Registered: Tue Apr 16 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (0) -
fastapi/security/api_key.py
""" API key authentication using a query parameter. This defines the name of the query parameter that should be provided in the request with the API key and integrates that into the OpenAPI documentation. It extracts the key value sent in the query parameter automatically and provides it as the dependency result. But it doesn't define how to send that API key to the client. ## Usage
Python - Registered: Sun Apr 14 07:19:09 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/sts/web-identity.py
authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth" token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token" # callback url specified when the application was defined callback_uri = "http://localhost:8000/oauth2/callback" # keycloak id and secret client_id = 'account' client_secret = 'daaa3008-80f0-40f7-80d7-e15167531ff0' sts_client = boto3.client( 'sts',
Python - Registered: Sun Apr 14 19:28:10 GMT 2024 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Viewed (1)