Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 939 for session (0.44 sec)

  1. docs_src/sql_databases/tutorial001_an_py39.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: SessionDep) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            configuration.addChild("uri", "${session.rootDirectory.uri}");
            configuration.addChild("path", "${session.rootDirectory}");
            configuration.addChild("uriString", "${session.rootDirectory.uri.string}");
            configuration.addChild("uriAsciiString", "${session.rootDirectory.uri.ASCIIString}");
            configuration.addChild("pathString", "${session.rootDirectory.string}");
    
            Mojo mojo = new Mojo();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
            }
        }
    
        private void injectSession2(ArtifactResolutionRequest request, MavenSession session) {
            injectSession1(request, session);
    
            if (session != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolverTest.java

            for (MavenProject reactorProject : session.getProjects()) {
                reactorProject.setArtifactFilter(artifact -> true);
                resolver.resolveProjectDependencies(
                        reactorProject, scopesToCollect, scopesToResolve, session, aggregating, reactorArtifacts);
                reactorArtifacts.add(reactorProject.getArtifact());
            }
    
            MavenProject lib = session.getProjects().get(1);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

        @Override
        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (project.getFile() == null) {
                // If there is no build POM there is no reason to inject artifacts for the consumer POM.
                return;
            }
            if (Features.consumerPom(session.getConfigProperties())) {
                Path buildDir =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

         * has a current project, its plugin repositories will be used as well.
         *
         * @param plugin The plugin for which to resolve a version, must not be {@code null}.
         * @param session The Maven session to use, must not be {@code null}.
         */
        public DefaultPluginVersionRequest(Plugin plugin, MavenSession session) {
            setGroupId(plugin.getGroupId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(session.acquire()).thenReturn(session);
            when(config.isTraceResourceUsage()).thenReturn(false);
            when(context.getConfig()).thenReturn(config);
            when(session.isConnected()).thenReturn(true);
        }
    
        // Test case for the constructor of SmbTreeImpl
        @Test
        void testSmbTreeImplConstructor() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            lifecyclePluginResolver.resolveMissingPluginVersions(project, session);
    
            final List<MojoExecution> executions = calculateMojoExecutions(session, project, tasks);
    
            if (setup) {
                setupMojoExecutions(session, project, executions);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

          initOauthSession(session);
          System.out.printf("session granted: %s\n", session);
        });
    
        System.out.printf("open this URL in a browser: %s\n", authorizeUrl);
      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

    @SessionScoped
    public class DefaultArtifactManager implements ArtifactManager {
    
        @Nonnull
        private final InternalMavenSession session;
    
        private final Map<String, Path> paths = new ConcurrentHashMap<>();
    
        @Inject
        public DefaultArtifactManager(@Nonnull InternalMavenSession session) {
            this.session = session;
        }
    
        @Nonnull
        @Override
        public Optional<Path> getPath(@Nonnull Artifact artifact) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top