- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 171 for dateTime (0.12 sec)
-
docs_src/extra_data_types/tutorial001_an_py39.py
from datetime import datetime, time, timedelta from typing import Annotated, Union from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()], repeat_at: Annotated[Union[time, None], Body()] = None, ):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 801 bytes - Viewed (0) -
docs/ko/docs/tutorial/extra-data-types.md
* 요청과 응답에서 `str`로 표현됩니다. * `datetime.datetime`: * 파이썬의 `datetime.datetime`. * 요청과 응답에서 `2008-09-15T15:53:00+05:00`와 같은 ISO 8601 형식의 `str`로 표현됩니다. * `datetime.date`: * 파이썬의 `datetime.date`. * 요청과 응답에서 `2008-09-15`와 같은 ISO 8601 형식의 `str`로 표현됩니다. * `datetime.time`: * 파이썬의 `datetime.time`. * 요청과 응답에서 `14:23:55.003`와 같은 ISO 8601 형식의 `str`로 표현됩니다. * `datetime.timedelta`: * 파이썬의 `datetime.timedelta`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 14 02:45:10 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-data-types.md
* `datetime.datetime`: * Ein Python-`datetime.datetime`. * Wird in Requests und Responses als `str` im ISO 8601-Format dargestellt, etwa: `2008-09-15T15:53:00+05:00`. * `datetime.date`: * Python-`datetime.date`. * Wird in Requests und Responses als `str` im ISO 8601-Format dargestellt, etwa: `2008-09-15`. * `datetime.time`: * Ein Python-`datetime.time`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:08:55 UTC 2024 - 4.4K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
from collections import deque from dataclasses import dataclass from datetime import datetime, timezone from decimal import Decimal from enum import Enum from pathlib import PurePath, PurePosixPath, PureWindowsPath from typing import Optional import pytest from fastapi._compat import PYDANTIC_V2, Undefined from fastapi.encoders import jsonable_encoder from pydantic import BaseModel, Field, ValidationError
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0) -
docs_src/encoder/tutorial001.py
from datetime import datetime from typing import Union from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel fake_db = {} class Item(BaseModel): title: str timestamp: datetime description: Union[str, None] = None app = FastAPI() @app.put("/items/{id}") def update_item(id: str, item: Item): json_compatible_item_data = jsonable_encoder(item)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 461 bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-data-types.md
* `datetime.datetime`: * Встроенный в Python `datetime.datetime`. * В запросах и ответах будет представлен как `str` в формате ISO 8601, например: `2008-09-15T15:53:00+05:00`. * `datetime.date`: * Встроенный в Python `datetime.date`. * В запросах и ответах будет представлен как `str` в формате ISO 8601, например: `2008-09-15`. * `datetime.time`: * Встроенный в Python `datetime.time`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 4.7K bytes - Viewed (0) -
docs_src/python_types/tutorial011.py
from datetime import datetime from typing import List, Union from pydantic import BaseModel class User(BaseModel): id: int name: str = "John Doe" signup_ts: Union[datetime, None] = None friends: List[int] = [] external_data = { "id": "123", "signup_ts": "2017-06-01 12:22", "friends": [1, "2", b"3"], } user = User(**external_data) print(user)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Sep 02 15:56:35 UTC 2023 - 498 bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-data-types.md
* `datetime.datetime`: * O `datetime.datetime` do Python. * Em requisições e respostas será representado como uma `str` no formato ISO 8601, exemplo: `2008-09-15T15:53:00+05:00`. * `datetime.date`: * O `datetime.date` do Python. * Em requisições e respostas será representado como uma `str` no formato ISO 8601, exemplo: `2008-09-15`. * `datetime.time`: * O `datetime.time` do Python.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 3K bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-data-types.md
* リクエストとレスポンスでは`str`として表現されます。 * `datetime.datetime`: * Pythonの`datetime.datetime`です。 * リクエストとレスポンスはISO 8601形式の`str`で表現されます: `2008-09-15T15:53:00+05:00` * `datetime.date`: * Pythonの`datetime.date`です。 * リクエストとレスポンスはISO 8601形式の`str`で表現されます: `2008-09-15` * `datetime.time`: * Pythonの`datetime.time`. * リクエストとレスポンスはISO 8601形式の`str`で表現されます: `14:23:55.003` * `datetime.timedelta`: * Pythonの`datetime.timedelta`です。
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 3.2K bytes - Viewed (0) -
dbflute_fess/playsql/replace-schema.sql
MEMBER_NAME VARCHAR(200) NOT NULL, MEMBER_ACCOUNT VARCHAR(50) NOT NULL, MEMBER_STATUS_CODE CHAR(3) NOT NULL, FORMALIZED_DATETIME DATETIME, BIRTHDATE DATE, REGISTER_DATETIME DATETIME NOT NULL, REGISTER_USER VARCHAR(200) NOT NULL, UPDATE_DATETIME DATETIME NOT NULL, UPDATE_USER VARCHAR(200) NOT NULL, VERSION_NO BIGINT NOT NULL
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sat Jul 25 06:04:16 UTC 2015 - 449 bytes - Viewed (0)