- Sort Score
- Result 10 results
- Languages All
Results 3131 - 3140 of 7,602 for _class (0.04 sec)
-
docs/ru/docs/tutorial/encoder.md
Например, он не принимает объекты `datetime`, так как они не совместимы с JSON. В таком случае объект `datetime` следует преобразовать в строку соответствующую <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">формату ISO</a>. Точно так же эта база данных не может принять Pydantic модель (объект с атрибутами), а только `dict`. Для этого можно использовать функцию `jsonable_encoder`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.8K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.ci-reporting.gradle.kts
if ("CI" in System.getenv() && project.name != "gradle-kotlin-dsl-accessors") { rootProject.plugins.apply(TestFilesCleanupRootPlugin::class.java) val globalExtension = rootProject.extensions.getByType<TestFilesCleanupBuildServiceRootExtension>() val projectState = objects.newInstance(TestFilesCleanupProjectState::class.java) globalExtension.projectStates.put(path, projectState) projectState.projectBuildDir = layout.buildDirectory
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 2K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts
* and reports them as TeamCity build problems. */ registerBuildScanInfoCollectingService(CollectFailedTaskPathsBuildService::class.java, ::shouldBeReportedAsTeamCityBuildProblem) { failedTasksInBuildLogic, failedTasksInMainBuild -> buildScanPublished { ((failedTasksInBuildLogic as List<*>) + (failedTasksInMainBuild as List<*>)).forEach {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jun 20 08:07:01 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/TestPlatform.java
* limitations under the License. */ package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; @GwtCompatible(emulated = true) class TestPlatform { static int reduceIterationsIfGwt(int iterations) { return iterations; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 07 20:59:23 UTC 2017 - 829 bytes - Viewed (0) -
docs_src/body_updates/tutorial002.py
from typing import List, Union from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: Union[str, None] = None description: Union[str, None] = None price: Union[float, None] = None tax: float = 10.5 tags: List[str] = [] items = { "foo": {"name": "Foo", "price": 50.2},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 1K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_an_py39.py
from typing import Annotated, Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Annotated[ Item, Body( openapi_examples={
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/SearchBody.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.badword; import org.codelibs.fess.app.web.api.admin.BaseSearchBody; public class SearchBody extends BaseSearchBody { public String id;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 809 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/CreateBody.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.dataconfig; import org.codelibs.fess.app.web.admin.dataconfig.CreateForm; public class CreateBody extends CreateForm {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 789 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/DownloadBody.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.dict.kuromoji; import org.codelibs.fess.app.web.admin.dict.kuromoji.DownloadForm; public class DownloadBody extends DownloadForm {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 800 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/EditBody.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.dict.kuromoji; import org.codelibs.fess.app.web.admin.dict.kuromoji.EditForm; public class EditBody extends EditForm {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 788 bytes - Viewed (0)