- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for Datetime (0.14 sec)
-
fastapi/encoders.py
else: return float(dec_value) ENCODERS_BY_TYPE: dict[type[Any], Callable[[Any], Any]] = { bytes: lambda o: o.decode(), Color: str, datetime.date: isoformat, datetime.datetime: isoformat, datetime.time: isoformat, datetime.timedelta: lambda td: td.total_seconds(), Decimal: decimal_encoder, Enum: lambda o: o.value, frozenset: list, deque: list, GeneratorType: list,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 10.7K bytes - Viewed (0) -
scripts/people.py
import logging import secrets import subprocess import time from collections import Counter from collections.abc import Container from datetime import datetime, timedelta, timezone from pathlib import Path from typing import Any, Union import httpx import yaml from github import Github from pydantic import BaseModel, SecretStr from pydantic_settings import BaseSettings github_graphql_url = "https://api.github.com/graphql"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
return new Date(time); } catch (final Exception e) { return null; } } /** * Formats a Date object to ISO datetime string format in UTC timezone. * * @param date the date to format * @return formatted date string, or empty string if date is null */ public static String formatDate(final Date date) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
docs/fr/docs/features.md
Vous écrivez du python standard avec des annotations de types: ```Python from datetime import date from pydantic import BaseModel # Déclare une variable comme étant une str # et profitez de l'aide de votre IDE dans cette fonction def main(user_id: str): return user_id
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.1K bytes - Viewed (0) -
docs/uk/docs/features.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/ru/docs/features.md
Вы пишете стандартный Python с типами: ```Python from datetime import date from pydantic import BaseModel # Объявляем параметр как `str` # и получаем поддержку редактора кода внутри функции def main(user_id: str): return user_id # Модель Pydantic
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 16K bytes - Viewed (0) -
docs/uk/docs/index.md
* Конвертація Python типів (`str`, `int`, `float`, `bool`, `list`, тощо). * `datetime` об'єкти. * `UUID` об'єкти. * Моделі бази даних. * ...та багато іншого. * Автоматичну інтерактивну документацію API, включаючи 2 альтернативні інтерфейси користувача: * Swagger UI. * ReDoc.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 24.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
} /** * Validates a date format (W3C Datetime format). * @param date the date to validate * @return true if valid, false otherwise */ protected boolean isValidDateFormat(final String date) { if (date == null || date.isEmpty()) { return true; // Date is optional } // Basic validation for W3C Datetime format (YYYY-MM-DD or YYYY-MM-DDThh:mm:ss+00:00)Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 13:19:40 UTC 2025 - 34.9K bytes - Viewed (0) -
docs/de/docs/features.md
Sie schreiben Standard-Python mit Typen: ```Python from datetime import date from pydantic import BaseModel # Deklarieren Sie eine Variable als ein str # und bekommen Sie Editor-Unterstützung innerhalb der Funktion def main(user_id: str): return user_id
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 10.9K bytes - Viewed (0) -
docs/tr/docs/features.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.1K bytes - Viewed (0)