- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for ellipsisOk (0.15 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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">๐ ๐ & ๐ค "โ"</a>. โซ๏ธ โ๏ธ Pydantic & 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) -
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) -
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)