- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 4,279 for FROM (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
final Bound to; final Bound from; final K firstInclusive; final K lastInclusive; private final Comparator<Entry<K, V>> entryComparator; public SortedMapSubmapTestMapGenerator( TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { super(delegate); this.to = to; this.from = from; SortedMap<K, V> emptyMap = delegate.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java
* XInclude support. */ String ROOT_DIRECTORY = "rootDirectory"; /** * Reads the model from the specified file. * * @param input The file to deserialize the model from, must not be {@code null}. * @param options The options to use for deserialization, may be {@code null} to use the default values.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py
import os from pathlib import Path from fastapi.testclient import TestClient from ...utils import needs_py310 @needs_py310 def test(): from docs_src.background_tasks.tutorial002_py310 import app client = TestClient(app) log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***?q=some-query")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 628 bytes - Viewed (0) -
docs_src/security/tutorial002_an_py310.py
from typing import Annotated 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: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 761 bytes - Viewed (0) -
tests/test_additional_properties_bool.py
from typing import Union from dirty_equals import IsDict from fastapi import FastAPI from fastapi._compat import PYDANTIC_V2 from fastapi.testclient import TestClient from pydantic import BaseModel, ConfigDict class FooBaseModel(BaseModel): if PYDANTIC_V2: model_config = ConfigDict(extra="forbid") else: class Config: extra = "forbid" class Foo(FooBaseModel): pass
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.2K bytes - Viewed (0) -
tests/test_datastructures.py
import io from pathlib import Path from typing import List import pytest from fastapi import FastAPI, UploadFile from fastapi.datastructures import Default from fastapi.testclient import TestClient # TODO: remove when deprecating Pydantic v1 def test_upload_file_invalid(): with pytest.raises(ValueError): UploadFile.validate("not a Starlette UploadFile") def test_upload_file_invalid_pydantic_v2():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* * @param to * @param from */ public static void cloneInternal ( Kerb5Authenticator to, Kerb5Authenticator from ) { NtlmPasswordAuthenticator.cloneInternal(to, from); to.setUser(from.getUser()); to.setRealm(from.getRealm()); to.setService(from.getService()); to.setLifeTime(from.getLifeTime()); to.setUserLifeTime(from.getUserLifeTime());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
* {@link RemoteRepository#getUrl()} root. * * @throws RuntimeException If PUT fails for any reason. */ void put(@Nonnull Path source, @Nonnull URI relativeTarget); /** * PUTs the source byte array to target URI. The target MUST BE relative from the * {@link RemoteRepository#getUrl()} root. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 4.4K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java
} // -- void setModelId( String ) /** * Get the location of the POM from which this POM was * * @return */ public InputLocation getImportedFrom() { return importedFrom; } /** * Set the location of the POM from which this POM was imported from. * * @param importedFrom */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient from fastapi.websockets import WebSocketDisconnect from ...utils import needs_py39 @pytest.fixture(name="app") def get_app(): from docs_src.websockets.tutorial002_an_py39 import app return app @needs_py39 def test_main(app: FastAPI): client = TestClient(app) response = client.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0)