Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for loc (0.03 sec)

  1. fastapi/dependencies/utils.py

        *, field: ModelField, value: Any, values: Dict[str, Any], loc: Tuple[str, ...]
    ) -> Tuple[Any, List[Any]]:
        if value is None:
            if field.required:
                return None, [get_missing_field_error(loc=loc)]
            else:
                return deepcopy(field.default), []
        v_, errors_ = field.validate(value, values, loc=loc)
        if isinstance(errors_, ErrorWrapper):
            return None, [errors_]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

        }
    
        @Test
        void testStrictToolchainsParseException() throws Exception {
            Location loc = mock(Location.class);
            when(loc.getLineNumber()).thenReturn(4);
            when(loc.getColumnNumber()).thenReturn(2);
            XMLStreamException parseException = new XMLStreamException("MESSAGE", loc);
            doThrow(new XmlReaderException("MESSAGE", getLocation(parseException), parseException))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/header-param-models.md

    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Resumo
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:41:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/additional-responses.md

                "ValidationError": {
                    "title": "ValidationError",
                    "required": [
                        "loc",
                        "msg",
                        "type"
                    ],
                    "type": "object",
                    "properties": {
                        "loc": {
                            "title": "Location",
                            "type": "array",
                            "items": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:07:07 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...sans ajouter le paramètre requis `needy`, vous aurez une erreur :
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:06:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                }
    
                if (source != null) {
                    try {
                        org.apache.maven.api.model.InputLocation loc = model.getLocation("");
                        org.apache.maven.api.model.InputSource v4src = loc != null ? loc.getSource() : null;
                        if (v4src != null) {
                            Field field = InputSource.class.getDeclaredField("modelId");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * ✅ Fix new/recent tests with new fixed `ValidationError` JSON Schema. PR [#4806](https://github.com/tiangolo/fastapi/pull/4806) by [@tiangolo](https://github.com/tiangolo).
    * 🐛 Fix JSON Schema for `ValidationError` at field `loc`. PR [#3810](https://github.com/tiangolo/fastapi/pull/3810) by [@dconathan](https://github.com/dconathan).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top