- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 9,294 for Use (0.17 sec)
-
docs/en/docs/tutorial/path-params-numeric-validations.md
!!! tip This is probably not as important or necessary if you use `Annotated`. Let's say that you want to declare the query parameter `q` as a required `str`. And you don't need to declare anything else for that parameter, so you don't really need to use `Query`. But you still need to use `Path` for the `item_id` path parameter. And you don't want to use `Annotated` for some reason.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 14.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java
* Sets the local repository to use. * * @param localRepository The local repository to use. * @return This request, never {@code null}. */ RepositoryRequest setLocalRepository(ArtifactRepository localRepository); /** * Gets the remote repositories to use. * * @return The remote repositories to use, never {@code null}. */ List<ArtifactRepository> getRemoteRepositories();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.1K bytes - Viewed (0) -
docs/en/docs/advanced/templates.md
# Templates You can use any template engine you want with **FastAPI**. A common choice is Jinja2, the same one used by Flask and other tools. There are utilities to configure it easily that you can use directly in your **FastAPI** application (provided by Starlette). ## Install dependencies Install `jinja2`: <div class="termy"> ```console $ pip install jinja2 ---> 100% ``` </div>
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 22:25:37 GMT 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
throws UnknownHostException, IOException; /** * Get transport connection * * @param tc * context to use * @param address * @param port * @param exclusive * whether to acquire an unshared connection * @return a transport connection to the target */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun May 17 09:02:44 GMT 2020 - 6.3K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
```Python from starlette.exceptions import HTTPException as StarletteHTTPException ``` ### Re-use **FastAPI**'s exception handlers If you want to use the exception along with the same default exception handlers from **FastAPI**, You can import and re-use the default exception handlers from `fastapi.exception_handlers`: ```Python hl_lines="2-5 15 21"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
okhttp-tls/README.md
[builder][held_certificate_builder] to create a self-signed certificate that a test server can use for HTTPS: ```java HeldCertificate localhostCertificate = new HeldCertificate.Builder() .addSubjectAlternativeName("localhost") .build(); ``` [`HandshakeCertificates`][handshake_certificates] keeps the certificates for a TLS handshake.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 9.1K bytes - Viewed (1) -
docs/recipes.md
When writing request headers, use `header(name, value)` to set the only occurrence of `name` to `value`. If there are existing values, they will be removed before the new value is added. Use `addHeader(name, value)` to add a header without removing the headers already present.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Feb 18 08:52:22 GMT 2022 - 40.2K bytes - Viewed (1) -
docs/en/docs/advanced/settings.md
If you want something quick to copy and paste, don't use this example, use the last one below. Then, when you create an instance of that `Settings` class (in this case, in the `settings` object), Pydantic will read the environment variables in a case-insensitive way, so, an upper-case variable `APP_NAME` will still be read for the attribute `app_name`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 15.7K bytes - Viewed (0) -
fastapi/dependencies/utils.py
security_scopes.extend(dependency_scopes) if isinstance(dependency, SecurityBase): use_scopes: List[str] = [] if isinstance(dependency, (OAuth2, OpenIdConnect)): use_scopes = security_scopes security_requirement = SecurityRequirement( security_scheme=dependency, scopes=use_scopes ) sub_dependant = get_dependant( path=path, call=dependency,
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:52:56 GMT 2024 - 29.5K bytes - Viewed (0)