- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for Ellipsis (0.2 sec)
-
tests/test_params_repr.py
def test_param_repr_none(): assert repr(Param(None)) == "Param(None)" def test_param_repr_ellipsis(): assert repr(Param(...)) == IsOneOf( "Param(PydanticUndefined)", # TODO: remove when deprecating Pydantic v1 "Param(Ellipsis)", ) def test_param_repr_number(): assert repr(Param(1)) == "Param(1)" def test_param_repr_list():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.3K bytes - Viewed (0) -
fastapi/_compat.py
SHAPE_SET, SHAPE_FROZENSET, SHAPE_TUPLE, SHAPE_SEQUENCE, SHAPE_TUPLE_ELLIPSIS, } sequence_shape_to_type = { SHAPE_LIST: list, SHAPE_SET: set, SHAPE_TUPLE: tuple, SHAPE_SEQUENCE: list, SHAPE_TUPLE_ELLIPSIS: list, } @dataclass class GenerateJsonSchema: # type: ignore[no-redef] ref_template: str
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params-str-validations.md
``` !!! info Si vous n'avez jamais vu ce `...` auparavant : c'est une des constantes natives de Python <a href="https://docs.python.org/fr/3/library/constants.html#Ellipsis" class="external-link" target="_blank">appelée "Ellipsis"</a>. Cela indiquera à **FastAPI** que la présence de ce paramètre est obligatoire. ## Liste de paramètres / valeurs multiples via Query
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jul 27 18:53:21 GMT 2023 - 9.8K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p1/p1.go
func (common) OnBothTandBVal() {} type EmbedSelector struct { Time } const ( foo = "foo" foo2 string = "foo2" truth = foo == "foo" || foo2 == "foo2" ) func ellipsis(...string) {} func Now() Time { var now Time return now } var x = &S{ Public: nil, private: nil, PublicTime: Now(), } var parenExpr = (1 + 5)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 3.3K 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; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
src/main/webapp/css/style.css
} .searchFormBox { margin-top: 4em; } #result .info { display: none; } #result .more { display: block; } #result .description { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
CSS - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Jun 02 11:39:35 GMT 2022 - 2K bytes - Viewed (2) -
docs/ko/docs/tutorial/query-params-str-validations.md
{!../../../docs_src/query_params_str_validations/tutorial006.py!} ``` !!! info "정보" 이전에 `...`를 본적이 없다면: 특별한 단일값으로, <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">파이썬의 일부이며 "Ellipsis"라 부릅니다</a>. 이렇게 하면 **FastAPI**가 이 매개변수는 필수임을 알 수 있습니다. ## 쿼리 매개변수 리스트 / 다중값 쿼리 매개변수를 `Query`와 함께 명시적으로 선언할 때, 값들의 리스트나 다른 방법으로 여러 값을 받도록 선언 할 수도 있습니다.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 11 13:48:31 GMT 2024 - 9.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
``` !!! info "Дополнительная информация" Если вы ранее не сталкивались с `...`: это специальное значение, <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">часть языка Python и называется "Ellipsis"</a>. Используется в Pydantic и FastAPI для определения, что значение требуется обязательно. Таким образом, **FastAPI** определяет, что параметр является обязательным.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 38K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
``` !!! info If you hadn't seen that `...` before: it is a special single value, it is <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">part of Python and is called "Ellipsis"</a>. It is used by Pydantic and FastAPI to explicitly declare that a value is required. This will let **FastAPI** know that this parameter is required.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 25.7K bytes - Viewed (0) -
src/cmd/cgo/ast.go
} else { f.walk(&n.Type, ctxType, visit) } case *ast.FieldList: for _, field := range n.List { f.walk(field, context, visit) } case *ast.BadExpr: case *ast.Ident: case *ast.Ellipsis: f.walk(&n.Elt, ctxType, visit) case *ast.BasicLit: case *ast.FuncLit: f.walk(n.Type, ctxType, visit) f.walk(n.Body, ctxStmt, visit) case *ast.CompositeLit: f.walk(&n.Type, ctxType, visit)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0)