Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newError (0.16 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
            Mirror mirrorA3 = newMirror("a", "a", "http://a3");
    
            Mirror mirrorB = newMirror("b", "b", "http://b");
            Mirror mirrorC = newMirror("c", "d,e", "http://de");
            Mirror mirrorC2 = newMirror("c", "*", "http://wildcard");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. fastapi/_compat.py

        def get_missing_field_error(loc: Tuple[str, ...]) -> Dict[str, Any]:
            missing_field_error = ErrorWrapper(MissingError(), loc=loc)  # type: ignore[call-arg]
            new_error = ValidationError([missing_field_error], RequestErrorModel)
            return new_error.errors()[0]  # type: ignore[return-value]
    
        def create_body_model(
            *, fields: Sequence[ModelField], model_name: str
        ) -> Type[BaseModel]:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top