Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1531 - 1540 of 3,004 for if (0.01 seconds)

  1. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    This includes `pydantic.v1`, which is no longer supported in Python 3.14 and above.
    
    If you want to use the latest features of Python, you will need to make sure you use Pydantic v2.
    
    ///
    
    If you have an old FastAPI app with Pydantic v1, here I'll show you how to migrate it to Pydantic v2, and the **features in FastAPI 0.119.0** to help you with a gradual migration.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

            return new EncryptContext(
                    invokerRequest, (EncryptOptions) invokerRequest.options().orElse(null));
        }
    
        @Override
        protected void lookup(EncryptContext context) throws Exception {
            if (context.goals == null) {
                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                if (context.options().goals().isEmpty()) {
                    return badGoalsErrorMessage("No goals specified.", context);
                }
    
                String goalName = context.options().goals().get().get(0);
                Goal goal = context.goals.get(goalName);
                if (goal == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

                r &= exclusionsEquals(aD.getExclusions(), bD.getExclusions());
    
                if (!r) {
                    return false;
                }
            }
    
            return true;
        }
    
        private static boolean exclusionsEquals(List<Exclusion> a, List<Exclusion> b) {
            if (a.size() != b.size()) {
                return false;
            }
    
            Iterator<Exclusion> aI = a.iterator();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  5. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

         *
         * @return String
         */
        public String getEffectiveId() {
            if (executionPoint == null) {
                if (priority == 0) {
                    return id;
                }
                return id + '[' + priority + ']';
            }
            if (priority == 0) {
                return executionPoint + ':' + id;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. internal/logger/target/testlogger/testlogger.go

    				fmt.Fprintf(os.Stdout, format+"\n", args...)
    			}
    		}
    	}
    
    	switch v := entry.(type) {
    	case log.Entry:
    		if v.Trace == nil {
    			logf("%s: %s", v.Level, v.Message)
    		} else {
    			msg := fmt.Sprintf("%s: %+v", v.Level, v.Trace.Message)
    			for i, m := range v.Trace.Source {
    				if i == 0 && strings.Contains(m, "logger.go:") {
    					continue
    				}
    				msg += fmt.Sprintf("\n%s", m)
    			}
    			logf("%s", msg)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            if (!milestone.isPresent) {
                error("Milestone not set: please rerun the task with `--milestone <milestone>`")
            }
            val prs: MutableList<GitHubPullRequest> = mutableListOf()
            for (page in 1..10) {
                val prPage = getMergedContributorPullRequests(page)
                prs.addAll(prPage)
                if (prPage.size < PAGE_SIZE) {
                    break
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 07:54:08 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseComparator.java

            int i2 = lifecyclePhases.indexOf(p2.executionPoint().prefix() + p2.phase());
            if (i1 == -1 && i2 == -1) {
                // unknown phases, leave in existing order
                return 0;
            }
            if (i1 == -1) {
                // second one is known, so it comes first
                return 1;
            }
            if (i2 == -1) {
                // first one is known, so it comes first
                return -1;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

            this.artifactHandlers = requireNonNull(artifactHandlers);
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent executionEvent) {
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

        private Sources() {}
    
        /**
         * Creates a new source for the specified path.
         *
         * @param path the path to the file
         * @return a new Source instance
         * @throws NullPointerException if path is null
         */
        @Nonnull
        public static Source fromPath(@Nonnull Path path) {
            return new PathSource(requireNonNull(path, "path"));
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top