- Sort Score
- Result 10 results
- Languages All
Results 911 - 920 of 1,625 for lists (0.03 sec)
-
docs_src/separate_openapi_schemas/tutorial001.py
from typing import List, Union from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: Union[str, None] = None app = FastAPI() @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> List[Item]: return [ Item( name="Portal Gun",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 489 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt
* pinning. */ abstract class CertificateChainCleaner { @Throws(SSLPeerUnverifiedException::class) abstract fun clean( chain: List<Certificate>, hostname: String, ): List<Certificate> companion object { fun get(trustManager: X509TrustManager): CertificateChainCleaner { return Platform.get().buildCertificateChainCleaner(trustManager) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
import java.util.Enumeration; import java.util.List; import java.util.Map; import javax.security.auth.kerberos.KerberosKey; import org.bouncycastle.asn1.*; import jcifs.pac.ASN1Util; import jcifs.pac.PACDecodingException; @SuppressWarnings ( "javadoc" ) public class KerberosRelevantAuthData extends KerberosAuthData { private List<KerberosAuthData> authorizations;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java
import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.apache.maven.artifact.Artifact; /** * Apply multiple filters. * */ public class AndArtifactFilter implements ArtifactFilter { private Set<ArtifactFilter> filters; public AndArtifactFilter() { this.filters = new LinkedHashSet<>(); } public AndArtifactFilter(List<ArtifactFilter> filters) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java
return Optional.empty(); } List<MavenProject> sortedProjects = result.getTopologicallySortedProjects(); boolean hasNoSuccess = sortedProjects.stream().noneMatch(project -> result.getBuildSummary(project) instanceof BuildSuccess); if (hasNoSuccess) { return Optional.empty(); } List<String> remainingProjects = sortedProjects.stream()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt
} throw GradleException(buildErrorMessage(formattedMismatches)) } } private fun findMismatches(originalChanges: List<AcceptedApiChange>, sortedChanges: List<AcceptedApiChange>): List<AcceptedApiChange> { return originalChanges.filterIndexed { index, acceptedApiChange -> sortedChanges[index] != acceptedApiChange } } private
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.5K bytes - Viewed (0) -
docs_src/header_param_models/tutorial001_an.py
from typing import List, Union from fastapi import FastAPI, Header from pydantic import BaseModel from typing_extensions import Annotated app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: List[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 446 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_an.py
from typing import List from fastapi import FastAPI, Query from pydantic import BaseModel, Field from typing_extensions import Annotated, Literal app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: List[str] = [] @app.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 518 bytes - Viewed (0) -
docs/em/docs/tutorial/query-params-str-validations.md
"q": [ "foo", "bar" ] } ``` #### âī¸ `list` đ đĒ âī¸ `list` đ âŠī¸ `List[str]` (âī¸ `list[str]` đ 3ī¸âŖ.9ī¸âŖ â): ```Python hl_lines="7" {!../../docs_src/query_params_str_validations/tutorial013.py!} ``` /// note âī¸ đ¤¯ đ đ đŧ, FastAPI đ đĢ â đ đ. đŧ, `List[int]` đ â (& đ) đ đ đ đĸ. âī¸ `list` đ đĢđ. /// ## đŖ đ đ đ đĒ đŽ đ âš đ đĸ.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.7K bytes - Viewed (0) -
fastapi/applications.py
browser tabs open). Or if you want to leave fixed the possible URLs. If the servers `list` is not provided, or is an empty `list`, the default value would be a `dict` with a `url` value of `/`. Each item in the `list` is a `dict` containing: * `url`: A URL to the target host. This URL supports Server Variables
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K bytes - Viewed (0)