Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for ellipsisOk (0.19 sec)

  1. fastapi/_compat.py

            or hasattr(origin, "__get_pydantic_core_schema__")
        )
    
    
    def field_annotation_is_scalar(annotation: Any) -> bool:
        # handle Ellipsis here to make tuple[int, ...] work nicely
        return annotation is Ellipsis or not field_annotation_is_complex(annotation)
    
    
    def field_annotation_is_scalar_sequence(annotation: Union[Type[Any], None]) -> bool:
        origin = get_origin(annotation)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	if !matched {
    		return
    	}
    
    	if !call.Ellipsis.IsValid() {
    		typ, ok := pass.TypesInfo.Types[call.Fun].Type.(*types.Signature)
    		if !ok {
    			return
    		}
    		if len(call.Args) > typ.Params().Len() {
    			// If we're passing more arguments than what the
    			// print/printf function can take, adding an ellipsis
    			// would break the program. For example:
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    texts[i] = fragments[i].string();
                }
                final String value = StringUtils.join(texts, ELLIPSIS);
                if (StringUtil.isNotBlank(value) && !ComponentUtil.getFessConfig().endsWithFullstop(value)) {
                    return value + ELLIPSIS;
                }
                return value;
            }
            return null;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go

    	}
    	inspect.Preorder(nodeFilter, func(node ast.Node) {
    		call := node.(*ast.CallExpr)
    		fn := typeutil.StaticCallee(pass.TypesInfo, call)
    		if fn == nil {
    			return // not a static call
    		}
    		if call.Ellipsis != token.NoPos {
    			return // skip calls with "..." args
    		}
    		skipArgs, ok := kvFuncSkipArgs(fn)
    		if !ok {
    			// Not a slog function that takes key-value pairs.
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/go/types/typexpr.go

    		if _, ok := e.Len.(*ast.Ellipsis); ok {
    			check.error(e.Len, BadDotDotDotSyntax, "invalid use of [...] array (outside a composite literal)")
    			typ.len = -1
    		} else {
    			typ.len = check.arrayLength(e.Len)
    		}
    		typ.elem = check.varType(e.Elt)
    		if typ.len >= 0 {
    			return typ
    		}
    		// report error if we encountered [...]
    
    	case *ast.Ellipsis:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    				Type: p,
    				Names: []*ast.Ident{
    					{
    						Name: t.Params().At(i).Name(),
    					},
    				},
    			})
    		}
    		if t.Variadic() {
    			last := params[len(params)-1]
    			last.Type = &ast.Ellipsis{Elt: last.Type.(*ast.ArrayType).Elt}
    		}
    		var returns []*ast.Field
    		for i := 0; i < t.Results().Len(); i++ {
    			r := TypeExpr(f, pkg, t.Results().At(i).Type())
    			if r == nil {
    				return nil
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/query-params-str-validations.md

        ```
    
    !!! info
        Falls Sie das `...` bisher noch nicht gesehen haben: Es ist ein spezieller einzelner Wert, <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">Teil von Python und wird โ€žEllipsisโ€œ genannt</a> (Deutsch: Ellipse).
    
        Es wird von Pydantic und FastAPI verwendet, um explizit zu deklarieren, dass ein Wert erforderlich ist.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 17:58:59 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="7"
    {!../../../docs_src/query_params_str_validations/tutorial006b.py!}
    ```
    
    !!! info
        ๐Ÿšฅ ๐Ÿ‘† ๐Ÿšซ ๐Ÿ‘€ ๐Ÿ‘ˆ `...` โญ: โšซ๏ธ ๐ŸŽ ๐Ÿ‘ ๐Ÿ’ฒ, โšซ๏ธ <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">๐Ÿ• ๐Ÿ &amp; ๐Ÿค™ "โ•"</a>.
    
        โšซ๏ธ โš™๏ธ Pydantic &amp; FastAPI ๐ŸŽฏ ๐Ÿ“ฃ ๐Ÿ‘ˆ ๐Ÿ’ฒ โœ”.
    
    ๐Ÿ‘‰ ๐Ÿ”œ โžก๏ธ **FastAPI** ๐Ÿ’ญ ๐Ÿ‘ˆ ๐Ÿ‘‰ ๐Ÿ”ข โœ”.
    
    ### โœ” โฎ๏ธ `None`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/go/types/signature.go

    	if list == nil {
    		return
    	}
    
    	var named, anonymous bool
    	for i, field := range list.List {
    		ftype := field.Type
    		if t, _ := ftype.(*ast.Ellipsis); t != nil {
    			ftype = t.Elt
    			if variadicOk && i == len(list.List)-1 && len(field.Names) <= 1 {
    				variadic = true
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/query-params-str-validations.md

    ```Python hl_lines="7"
    {!../../../docs_src/query_params_str_validations/tutorial006b.py!}
    ```
    
    !!! info
        ๅฆ‚ๆžœไฝ ไน‹ๅ‰ๆฒก่ง่ฟ‡ `...` ่ฟ™็ง็”จๆณ•๏ผšๅฎƒๆ˜ฏไธ€ไธช็‰นๆฎŠ็š„ๅ•็‹ฌๅ€ผ๏ผŒๅฎƒๆ˜ฏ <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">Python ็š„ไธ€้ƒจๅˆ†ๅนถไธ”่ขซ็งฐไธบใ€Œ็œ็•ฅๅทใ€</a>ใ€‚
        Pydantic ๅ’Œ FastAPI ไฝฟ็”จๅฎƒๆฅๆ˜พๅผ็š„ๅฃฐๆ˜Ž้œ€่ฆไธ€ไธชๅ€ผใ€‚
    
    ่ฟ™ๅฐ†ไฝฟ **FastAPI** ็Ÿฅ้“ๆญคๆŸฅ่ฏขๅ‚ๆ•ฐๆ˜ฏๅฟ…้œ€็š„ใ€‚
    
    ### ไฝฟ็”จ`None`ๅฃฐๆ˜Žๅฟ…้œ€ๅ‚ๆ•ฐ
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top