Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 303 for loc (0.29 sec)

  1. fastapi/_compat.py

            return BodyModel
    
    
    def _regenerate_error_with_loc(
        *, errors: Sequence[Any], loc_prefix: Tuple[Union[str, int], ...]
    ) -> List[Dict[str, Any]]:
        updated_loc_errors: List[Any] = [
            {**err, "loc": loc_prefix + err.get("loc", ())}
            for err in _normalize_errors(errors)
        ]
    
        return updated_loc_errors
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/route.go

    	if lastUpdated, err := c.envoy.GetLastUpdatedDynamicRouteTime(); err != nil {
    		return err
    	} else if lastUpdated != nil {
    		loc, err := time.LoadLocation(c.location)
    		if err != nil {
    			loc, _ = time.LoadLocation("UTC")
    		}
    		lastUpdatedStr = fmt.Sprintf(" (RDS last loaded at %s)", lastUpdated.In(loc).Format(time.RFC1123))
    	}
    	if text != "" {
    		fmt.Fprintf(c.w, "Routes Don't Match%s\n", lastUpdatedStr)
    		fmt.Fprintln(c.w, text)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_params/test_tutorial005.py

                        }
                    ),
                    "ValidationError": {
                        "title": "ValidationError",
                        "required": ["loc", "msg", "type"],
                        "type": "object",
                        "properties": {
                            "loc": {
                                "title": "Location",
                                "type": "array",
                                "items": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

            ), "Params must be subclasses of Param"
            loc = (field_info.in_.value, field.alias)
            if value is None:
                if field.required:
                    errors.append(get_missing_field_error(loc=loc))
                else:
                    values[field.name] = deepcopy(field.default)
                continue
            v_, errors_ = field.validate(value, values, loc=loc)
            if isinstance(errors_, ErrorWrapper):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial002_py39.py

                        "type": "missing",
                        "loc": ["body", "files"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "files"],
                        "msg": "field required",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. tests/test_regex_deprecated_body.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["body", "q"],
                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
                    }
                ]
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url);
            loc.canon = this.canon;
            loc.share = this.share;
            loc.dfsReferral = this.dfsReferral;
            loc.unc = this.unc;
            if ( this.addresses != null ) {
                loc.addresses = new UniAddress[this.addresses.length];
                System.arraycopy(this.addresses, 0, loc.addresses, 0, this.addresses.length);
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

        @Test
        public void transportReuseSimple () throws CIFSException {
            CIFSContext ctx = withTestNTLMCredentials(getContext());
            String loc = getTestShareURL();
            try ( SmbResource f1 = ctx.get(loc) ) {
                f1.exists();
                try ( SmbResource f2 = ctx.get(loc) ) {
                    f2.exists();
                    connectionMatches(f1, f2);
                }
            }
        }
    
    
        @Test
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py

                "schemas": {
                    "ValidationError": {
                        "title": "ValidationError",
                        "required": ["loc", "msg", "type"],
                        "type": "object",
                        "properties": {
                            "loc": {
                                "title": "Location",
                                "type": "array",
                                "items": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

                    for (ModelProblem problem : result.getProblems()) {
                        String loc = ModelProblemUtils.formatLocation(problem, result.getProjectId());
                        LOGGER.warn("{}{}", problem.getMessage(), ((loc != null && !loc.isEmpty()) ? " @ " + loc : ""));
                    }
    
                    problems = true;
                }
            }
    
            if (problems) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top