- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 1,184 for asdict (0.06 sec)
-
docs/en/docs/advanced/response-headers.md
And then you can set headers in that *temporal* response object. ```Python hl_lines="1 7-8" {!../../docs_src/response_headers/tutorial002.py!} ``` And then you can return any object you need, as you normally would (a `dict`, a database model, etc). And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
docs_src/security/tutorial005_py310.py
user = get_user(fake_db, username) if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/em/docs/features.md
### 📏 ⚫️ ✔️ 🤔 **🔢** 🌐, ⏮️ 📦 📳 🌐. 🌐 🔢 💪 👌-🎧 ⚫️❔ 👆 💪 & 🔬 🛠️ 👆 💪. ✋️ 🔢, ⚫️ 🌐 **"👷"**. ### 🔬 * 🔬 🌅 (⚖️ 🌐 ❓) 🐍 **💽 🆎**, 🔌: * 🎻 🎚 (`dict`). * 🎻 🎻 (`list`) ⚖ 🏬 🆎. * 🎻 (`str`) 🏑, 🔬 🕙 & 👟 📐. * 🔢 (`int`, `float`) ⏮️ 🕙 & 👟 💲, ♒️. * 🔬 🌅 😍 🆎, 💖: * 📛. * 📧. * 🆔. * ...& 🎏.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8K bytes - Viewed (0) -
docs/uk/docs/tutorial/body.md
Наприклад, ця модель вище оголошує JSON "`об'єкт`" (або Python `dict`), як: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
@GwtIncompatible // NavigableSet @Override public UnmodifiableIterator<E> descendingIterator() { return elements.reverse().iterator(); } @Override public Spliterator<E> spliterator() { return asList().spliterator(); } @Override public void forEach(Consumer<? super E> action) { elements.forEach(action); } @Override public int size() { return elements.size(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/ko/docs/advanced/events.md
/// ## `startup` 이벤트 응용 프로그램을 시작하기 전에 실행하려는 함수를 "startup" 이벤트로 선언합니다: ```Python hl_lines="8" {!../../docs_src/events/tutorial001.py!} ``` 이 경우 `startup` 이벤트 핸들러 함수는 단순히 몇 가지 값으로 구성된 `dict` 형식의 "데이터베이스"를 초기화합니다. 하나 이상의 이벤트 핸들러 함수를 추가할 수도 있습니다. 그리고 응용 프로그램은 모든 `startup` 이벤트 핸들러가 완료될 때까지 요청을 받지 않습니다. ## `shutdown` 이벤트 응용 프로그램이 종료될 때 실행하려는 함수를 추가하려면 `"shutdown"` 이벤트로 선언합니다:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-model.md
## Параметр `response_model` Бывают случаи, когда вам необходимо (или просто хочется) возвращать данные, которые не полностью соответствуют объявленному типу.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 30.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/index.md
* Необязательный query-параметр `skip` с типом `int`, и значением по умолчанию `0` * Необязательный query-параметр `limit` с типом `int`, и значением по умолчанию `100` И в конце она возвращает `dict`, содержащий эти значения. /// info | "Информация" **FastAPI** добавил поддержку для `Annotated` (и начал её рекомендовать) в версии 0.95.0.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17.6K bytes - Viewed (0) -
cmd/metrics-v3.go
clusterIAMCollectorPath collectorPath = "/cluster/iam" clusterConfigCollectorPath collectorPath = "/cluster/config" ilmCollectorPath collectorPath = "/ilm" auditCollectorPath collectorPath = "/audit" loggerWebhookCollectorPath collectorPath = "/logger/webhook" replicationCollectorPath collectorPath = "/replication" notificationCollectorPath collectorPath = "/notification"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 02 00:55:27 UTC 2024 - 13.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
import jakarta.annotation.PostConstruct; /** * @author shinsuke * */ public class ActivityHelper { protected Logger logger = null; protected String loggerName = "fess.log.audit"; protected String permissionSeparator = "|"; protected boolean useEcsFormat = false; protected String ecsVersion = "1.2.0"; protected String ecsServiceName = "fess";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0)