- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 4,924 for from (0.37 sec)
-
tests/test_additional_responses_custom_validationerror.py
from fastapi import FastAPI from fastapi.responses import JSONResponse from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class JsonApiResponse(JSONResponse): media_type = "application/vnd.api+json" class Error(BaseModel): status: str title: str class JsonApiError(BaseModel): errors: list[Error] @app.get( "/a/{id}",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.9K bytes - Viewed (0) -
tests/test_security_http_digest_optional.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security import HTTPAuthorizationCredentials, HTTPDigest from fastapi.testclient import TestClient app = FastAPI() security = HTTPDigest(auto_error=False) @app.get("/users/me") def read_current_user( credentials: Optional[HTTPAuthorizationCredentials] = Security(security), ): if credentials is None:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Feb 27 12:29:20 UTC 2025 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
/** * Verifies SCM inheritance uses modules statement from parent. */ @Deprecated class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase { // ---------------------------------------------------------------------- // // p1 inherits from p0 // p0 inherits from super model // // or we can show it graphically as: //Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 3K bytes - Viewed (0) -
docs_src/request_form_models/tutorial001_py39.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 228 bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
public void testIdentity() { for (CaseFormat from : CaseFormat.values()) { assertWithMessage("%s to %s", from, from).that(from.to(from, "foo")).isSameInstanceAs("foo"); for (CaseFormat to : CaseFormat.values()) { assertWithMessage("%s to %s", from, to).that(from.to(to, "")).isEmpty(); assertWithMessage("%s to %s", from, to).that(from.to(to, " ")).isEqualTo(" "); } } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
docs_src/security/tutorial002_an_py39.py
from typing import Annotated, Union from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordBearer from pydantic import BaseModel app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None def fake_decode_token(token):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 786 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java
task.from(extension.getReleaseNotes().getRenderedDocumentation()); // release notes assets go into $root/$assetsName/ task.from(extension.getReleaseNotes().getReleaseNotesAssets(), sub -> sub.into(extension.getReleaseNotes().getReleaseNotesAssets().map(dir -> dir.getAsFile().getName()))); // DSL reference goes into dsl/
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jul 02 12:28:02 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
searchLogBhv.selectBulk(cb -> { final String from = LocalDateTime.now().minusDays(fessConfig.getPurgeSuggestSearchLogDay()).format(DateTimeFormatter.ISO_DATE); cb.query().addQuery(QueryBuilders.rangeQuery("requestedAt").gte(from)); cb.query().addOrderBy_RequestedAt_Asc(); cb.specify().columnAccessType();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 22.3K bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_py39.py
from datetime import datetime, time, timedelta from typing import Union from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: datetime = Body(), end_datetime: datetime = Body(), process_after: timedelta = Body(), repeat_at: Union[time, None] = Body(default=None), ):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 755 bytes - Viewed (0) -
api/maven-api-cli/src/main/mdo/core-extensions.mdo
</field> <field> <name>classLoadingStrategy</name> <description>The class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins).</description> <version>1.1.0+</version> <defaultValue>self-first</defaultValue> <required>false</required>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 4.4K bytes - Viewed (0)