- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 603 for sessionId (0.06 sec)
-
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py
def test_websocket_with_cookie(app: FastAPI): client = TestClient(app, cookies={"session": "fakesession"}) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws") as websocket: message = "Message one" websocket.send_text(message) data = websocket.receive_text() assert data == "Session cookie or query token value is: fakesession"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
Key cacheKey = null; RepositoryCache cache = session.getCache(); if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) { cacheKey = new Key(session, request); Object obj = cache.get(session, cacheKey); if (obj instanceof Record) { Record record = (Record) obj;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java
*/ @Nonnull default ProjectBuilderResult build(@Nonnull Session session, @Nonnull Source source) { return build(ProjectBuilderRequest.build(session, source)); } /** * Creates a {@link org.apache.maven.api.Project} from a POM file. * * @param session the {@link Session}, must not be {@code null} * @param path the {@link Path}, must not be {@code null}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Jan 30 23:39:19 UTC 2024 - 2.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
try { Result<ProjectDependencyGraph> result = sessionDependencyGraph(session); if (result == null) { final List<MavenProject> projects = getProjectsForMavenReactor(session); validateProjects(projects, session.getRequest()); processPackagingAttribute(projects, session.getRequest());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
infoLine('-'); } } private boolean isSingleVersionedReactor(MavenSession session) { boolean result = true; MavenProject topProject = session.getTopLevelProject(); List<MavenProject> sortedProjects = session.getProjectDependencyGraph().getSortedProjects(); for (MavenProject mavenProject : sortedProjects) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an.py
def test_websocket_with_cookie(): client = TestClient(app, cookies={"session": "fakesession"}) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws") as websocket: message = "Message one" websocket.send_text(message) data = websocket.receive_text() assert data == "Session cookie or query token value is: fakesession"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java
* the artifact would eventually be stored. * * @param session The session to use, must not be {@code null}. * @param artifact The artifact for which to determine the path, must not be {@code null}. * @return The path, resolved against the local repository's base directory. */ @Nonnull Path getPathForLocalArtifact(@Nonnull Session session, @Nonnull LocalRepository local, @Nonnull Artifact artifact); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Dec 08 09:10:49 UTC 2023 - 2.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java
DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle MavenSessionBuilderSupplier builder = new MavenSessionBuilderSupplier(); session.setDependencyTraverser(builder.getDependencyTraverser()); session.setDependencyManager(new ClassicDependencyManager()); // Maven 3 behavior session.setDependencySelector(builder.getDependencySelector());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java
VersionsMetadataGenerator(RepositorySystemSession session, InstallRequest request) { this(session, request.getMetadata()); } VersionsMetadataGenerator(RepositorySystemSession session, DeployRequest request) { this(session, request.getMetadata()); } private VersionsMetadataGenerator(RepositorySystemSession session, Collection<? extends Metadata> metadatas) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java
// VersionRangeResult resolveVersionRange( RepositorySystemSession session, VersionRangeRequest request ) // throws VersionRangeResolutionException; } @Test void testResolveVersion() throws Exception { // VersionResult resolveVersion( RepositorySystemSession session, VersionRequest request ) // throws VersionResolutionException; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.9K bytes - Viewed (0)