- Sort Score
- Num 10 results
- Language All
Results 1401 - 1410 of 2,744 for FROM (0.03 seconds)
-
tests/test_tutorial/test_handling_errors/test_tutorial005.py
from fastapi.testclient import TestClient from docs_src.handling_errors.tutorial005_py39 import app client = TestClient(app) def test_post_validation_error(): response = client.post("/items/", json={"title": "towel", "size": "XL"}) assert response.status_code == 422, response.text assert response.json() == { "detail": [ { "type": "int_parsing", "loc": ["body", "size"],
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.9K bytes - Click Count (0) -
helm-releases/minio-1.0.2.tgz
to add trust for Minio's own CA and for the CA of a Keycloak server, a Kubernetes secret can be created from the certificate files using `kubectl`: ``` kubectl -n minio create secret generic minio-trusted-certs --from-file=public.crt --from-file=keycloak.crt ``` If TLS is not enabled, you would need only the third party CA: ``` kubectl -n minio create secret generic minio-trusted-certs --from-file=keycloak.crt ``` The name of the generated secret can then be passed to Helm using a values file or...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 24 18:58:05 GMT 2021 - 13.6K bytes - Click Count (0) -
CITATION.cff
# This CITATION.cff file was generated with cffinit. # Visit https://bit.ly/cffinit to generate yours today! cff-version: 1.2.0 title: FastAPI message: >- If you use this software, please cite it using the metadata from this file. type: software authors: - given-names: Sebastián family-names: Ramírez email: ******@****.*** identifiers: repository-code: 'https://github.com/fastapi/fastapi'Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Jul 29 23:35:07 GMT 2024 - 614 bytes - Click Count (0) -
docs_src/dependencies/tutorial008d_py39.py
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun":
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 694 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial008_py310.py
from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: str | None = Query( default=None, title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, ), ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q: results.update({"q": q})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 434 bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java
@Retention(RetentionPolicy.CLASS) @Target(ElementType.FIELD) public @interface Config { /** * Specifies the source of the configuration property, which determines when and where the property * will be read from or set for consumption in the Maven build lifecycle. * * The source indicates whether the property is: * - Set by Maven itself at startup (SYSTEM_PROPERTIES)Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
*/ @Deprecated(since = "4.0.0") public interface ProfileInjector { /** * Merges values from the specified profile into the given model. Implementations are expected to keep the profile * and model completely decoupled by injecting deep copies rather than the original objects from the profile. * * @param model The model into which to merge the values defined by the profile, must not be <code>null</code>.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/ArtifactInstaller.java
import org.apache.maven.artifact.repository.ArtifactRepository; /** */ @Deprecated public interface ArtifactInstaller { String ROLE = ArtifactInstaller.class.getName(); /** * Install an artifact from a particular directory. The artifact handler is used to determine * the filename of the source file. * * @param basedir the directory where the artifact is storedCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java
@SuppressWarnings("checkstyle:UnusedLocalVariable") class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase { // ---------------------------------------------------------------------- // // p1 inherits from p0 // p0 inherits from super model // // or we can show it graphically as: // // p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java
*/ @Deprecated class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase { // ---------------------------------------------------------------------- // // p1 inherits from p0 // p0 inherits from super model // // or we can show it graphically as: // // p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue May 27 13:59:13 GMT 2025 - 2.6K bytes - Click Count (0)