Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 331 for Creator (0.04 sec)

  1. docs_src/body_fields/tutorial001_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item = Body(embed=True)):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 523 bytes
    - Viewed (0)
  2. tests/test_multi_body_errors.py

        assert response.json() == {
            "detail": [
                {
                    "type": "greater_than",
                    "loc": ["body", 0, "age"],
                    "msg": "Input should be greater than 0",
                    "input": -1.0,
                    "ctx": {"gt": 0},
                }
            ]
        }
    
    
    def test_put_incorrect_body_multiple():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/path-params-numeric-validations.md

    La même chose s'applique pour :
    
    * `gt` : `g`reater `t`han
    * `le` : `l`ess than or `e`qual
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    ## Validations numériques : flottants, supérieur et inférieur
    
    Les validations numériques fonctionnent également pour les valeurs `float`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ComparisonChain.java

              return (result < 0) ? LESS : (result > 0) ? GREATER : ACTIVE;
            }
    
            @Override
            public int result() {
              return 0;
            }
          };
    
      private static final ComparisonChain LESS = new InactiveComparisonChain(-1);
    
      private static final ComparisonChain GREATER = new InactiveComparisonChain(1);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/PairedStatsAccumulator.java

       */
      public double populationCovariance() {
        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
       * Returns the sample covariance of the values. The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values
       * multiple times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java

        }
    
        List<Project> getProjects(List<org.apache.maven.project.MavenProject> projects);
    
        /**
         * May return null if the input project is null or is not part of the reactor.
         */
        @Nullable
        Project getProject(org.apache.maven.project.MavenProject project);
    
        List<org.apache.maven.artifact.repository.ArtifactRepository> toArtifactRepositories(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:09:05 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java

     */
    public interface Builder {
        //
        // Be nice to whittle this down to Session, maybe add task segments to the session. The session really is
        // the place to store reactor related information.
        //
        void build(
                MavenSession session,
                ReactorContext reactorContext,
                ProjectBuildList projectBuilds,
                List<TaskSegment> taskSegments,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .desc(
                            "Resume reactor from the last failed project, using the resume.properties file in the build directory")
                    .build());
            options.addOption(Option.builder(RESUME_FROM)
                    .longOpt("resume-from")
                    .hasArg()
                    .desc("Resume reactor from specified project")
                    .build());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 04:56:48 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            if (t instanceof Exception exception && !(t instanceof RuntimeException)) {
                eventCatapult.fire(ExecutionEvent.Type.ProjectFailed, currentSession, null, exception);
            }
    
            // reactor failure modes
            if (t instanceof RuntimeException || !(t instanceof Exception)) {
                // fail fast on RuntimeExceptions, Errors and "other" Throwables
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 })
            @DisplayName("All specific dialects should be greater than or equal to SMB 2.0.2")
            void testDialectVersionProgression(int dialect) {
                assertTrue(dialect >= Smb2Constants.SMB2_DIALECT_0202,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top