- Sort Score
- Result 10 results
- Languages All
Results 1821 - 1830 of 3,211 for List (0.02 sec)
-
docs_src/security/tutorial005.py
from datetime import datetime, timedelta, timezone from typing import List, Union import jwt from fastapi import Depends, FastAPI, HTTPException, Security, status from fastapi.security import ( OAuth2PasswordBearer, OAuth2PasswordRequestForm, SecurityScopes, ) from jwt.exceptions import InvalidTokenError from passlib.context import CryptContext from pydantic import BaseModel, ValidationError # to get a string like this run:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.2K bytes - Viewed (0) -
docs_src/security/tutorial005_an.py
from datetime import datetime, timedelta, timezone from typing import List, Union import jwt from fastapi import Depends, FastAPI, HTTPException, Security, status from fastapi.security import ( OAuth2PasswordBearer, OAuth2PasswordRequestForm, SecurityScopes, ) from jwt.exceptions import InvalidTokenError from passlib.context import CryptContext from pydantic import BaseModel, ValidationError from typing_extensions import Annotated
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.info; import java.util.ArrayList; import java.util.List; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.fscc.FileBothDirectoryInfo; import jcifs.internal.smb2.ServerMessageBlock2Response;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import java.io.Serial; import java.util.Collections; import java.util.List; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ProjectBuilder} service. * * @since 4.0.0 */ @Experimental
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 3K bytes - Viewed (0) -
.github/workflows/codeql-analysis.yml
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Fri Oct 02 13:24:14 UTC 2020 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java
import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import com.google.common.testing.EqualsTester; import java.util.ArrayList; import java.util.List; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; import org.junit.Ignore; /** * Tester for {@code Multimap.equals}. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_an_py310.py
app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: str | None = None traceparent: 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 - 432 bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_py39.py
class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} 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: CommonHeaders = Header()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 430 bytes - Viewed (0) -
docs_src/query_param_models/tutorial001_an_py310.py
app = FastAPI() class FilterParams(BaseModel): 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/") async def read_items(filter_query: Annotated[FilterParams, Query()]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 443 bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*. ## Add `dependencies` to the *path operation decorator* The *path operation decorator* receives an optional argument `dependencies`. It should be a `list` of `Depends()`: //// tab | Python 3.9+ ```Python hl_lines="19"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4K bytes - Viewed (0)