- Sort Score
- Result 10 results
- Languages All
Results 3221 - 3230 of 3,853 for Hint (0.04 sec)
-
tests/test_serialize_response_model.py
from starlette.testclient import TestClient app = FastAPI() class Item(BaseModel): name: str = Field(alias="aliased_name") price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/valid", response_model=Item) def get_valid(): return Item(aliased_name="valid", price=1.0) @app.get("/items/coerce", response_model=Item) def get_coerce():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 4.2K bytes - Viewed (0) -
internal/jwt/parser.go
// This is mainly implemented for speed. func (c *StandardClaims) UnmarshalJSON(b []byte) (err error) { return jsonparser.ObjectEach(b, func(key []byte, value []byte, dataType jsonparser.ValueType, _ int) error { if len(key) == 0 { return nil } switch key[0] { case 'a': if string(key) == "accessKey" { if dataType != jsonparser.String { return errors.New("accessKey: Expected string")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
docs/fa/docs/features.md
from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` که سپس میتوان به این شکل از آن استفاده کرد: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 15K bytes - Viewed (0) -
cmd/globals.go
FTP []string SFTP []string MemLimit uint64 UserTimeout time.Duration IdleTimeout time.Duration ReadHeaderTimeout time.Duration MaxIdleConnsPerHost int SendBufSize, RecvBufSize int CrossDomainXML string // The layout of disks as interpreted Layout disksLayout } var ( // Global user opts context globalServerCtxt serverCtxt
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 16.2K bytes - Viewed (1) -
src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java
private static Class<?>[] toClassArray(final Object... methodArgs) { if (methodArgs == null) { return null; } final Class<?>[] result = new Class[methodArgs.length]; for (int i = 0; i < methodArgs.length; ++i) { if (methodArgs[i] != null) { result[i] = methodArgs[i].getClass(); } } return result; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-data-types.md
# Дополнительные типы данных До сих пор вы использовали простые типы данных, такие как: * `int` * `float` * `str` * `bool` Но вы также можете использовать и более сложные типы. При этом у вас останутся те же возможности , что и до сих пор: * Отличная поддержка редактора. * Преобразование данных из входящих запросов. * Преобразование данных для ответа. * Валидация данных. * Автоматическая аннотация и документация.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/vi/docs/features.md
from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` Sau đó có thể được sử dụng: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.5K bytes - Viewed (0) -
docs/zh/docs/features.md
from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` 可以像这样来使用: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
cb.query().matchAll(); cb.fetchFirst(ComponentUtil.getFessConfig().getPageKeymatchMaxFetchSizeAsInteger()); }); } @Override public int load() { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final Map<String, Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>>> keyMatchQueryMap = new HashMap<>();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0)