- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 1,215 for noneOf (1.12 sec)
-
tests/test_read_with_orm_mode.py
from typing import Any from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel, ConfigDict def test_read_with_orm_mode() -> None: class PersonBase(BaseModel): name: str lastname: str class Person(PersonBase): @property def full_name(self) -> str: return f"{self.name} {self.lastname}"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
* * @param args * the constructor arguments * @return a {@link ConstructorDesc} that matches the arguments, or {@literal null} if none exists */ protected ConstructorDesc findSuitableConstructorDesc(final Object... args) { for (final ConstructorDesc constructorDesc : constructorDescs) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
docs_src/custom_response/tutorial009c_py39.py
import orjson from fastapi import FastAPI, Response app = FastAPI() class CustomORJSONResponse(Response): media_type = "application/json" def render(self, content: Any) -> bytes: assert orjson is not None, "orjson must be installed" return orjson.dumps(content, option=orjson.OPT_INDENT_2) @app.get("/", response_class=CustomORJSONResponse) async def main():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 451 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/header.jsp
<la:form action="/search" method="get" styleId="searchForm" role="search"> ${fe:facetForm()}${fe:geoForm()} <header> <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark d-print-none"> <div id="content" class="container"> <la:link styleClass="navbar-brand d-inline-flex" href="/"> <img src="${fe:url('/images/logo-head.png')}" alt="<la:message key="labels.header_brand_name" />"
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 4.3K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
def __dict__(self): raise NotImplementedError() class RoleEnum(Enum): admin = "admin" normal = "normal" class ModelWithConfig(BaseModel): role: Optional[RoleEnum] = None model_config = {"use_enum_values": True} class ModelWithAlias(BaseModel): foo: str = Field(alias="Foo") class ModelWithDefault(BaseModel): foo: str = ... # type: ignore
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/ja/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 21.3K bytes - Viewed (0) -
docs/uk/docs/python-types.md
`Optional[Something]` насправді є скороченням для `Union[Something, None]`, вони еквівалентні. Це також означає, що в Python 3.10 ви можете використовувати `Something | None`: //// tab | Python 3.8 і вище ```Python hl_lines="1 4" {!> ../../docs_src/python_types/tutorial009.py!} ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 19.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/body.md
쿼리 매개변수를 선언할 때와 같이, 모델 어트리뷰트가 기본 값을 가지고 있어도 이는 필수가 아닙니다. 그외에는 필수입니다. 그저 `None`을 사용하여 선택적으로 만들 수 있습니다. 예를 들면, 위의 이 모델은 JSON "`object`" (혹은 파이썬 `dict`)을 다음과 같이 선언합니다: ```JSON { "name": "Foo", "description": "선택적인 설명란", "price": 45.2, "tax": 3.5 } ``` ...`description`과 `tax`는 (기본 값이 `None`으로 되어 있어) 선택적이기 때문에, 이 JSON "`object`"는 다음과 같은 상황에서도 유효합니다: ```JSON { "name": "Foo",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.8K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
val agentJarNames: List<String> get() = agentJars.files.map { it.name } @get:InputFiles @get:PathSensitive(PathSensitivity.NONE) abstract val unixScriptTemplate: ConfigurableFileCollection @get:InputFiles @get:PathSensitive(PathSensitivity.NONE) abstract val windowsScriptTemplate: ConfigurableFileCollection @get:OutputDirectory abstract val startScriptsDir: DirectoryProperty
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Apr 08 01:46:59 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 11.5K bytes - Viewed (0)