- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 541 for optionele (0.1 sec)
-
tests/test_openapi_separate_input_output_schemas.py
from typing import List, Optional from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel from .utils import PYDANTIC_V2, needs_pydanticv2 class SubItem(BaseModel): subname: str sub_description: Optional[str] = None tags: List[str] = [] if PYDANTIC_V2: model_config = {"json_schema_serialization_defaults_required": True} class Item(BaseModel):
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 19.7K bytes - Viewed (0) -
docs/ko/docs/python-types.md
* `dict`의 키(key)는 `str`타입이다. (각 아이템의 이름(name)) * `dict`의 값(value)는 `float`타입이다. (각 아이템의 가격(price)) #### `Optional` `str`과 같이 타입을 선언할 때 `Optional`을 쓸 수도 있는데, "선택적(Optional)"이기때문에 `None`도 될 수 있습니다: ```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ``` `Optional[str]`을 `str` 대신 쓰게 되면, 특정 값이 실제로는 `None`이 될 수도 있는데 항상 `str`이라고 가정하는 상황에서 에디터가 에러를 찾게 도와줄 수 있습니다. #### Generic(제네릭) 타입
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
```console $ pip install "fastapi[standard]" ---> 100% ``` </div> /// note When you install with `pip install "fastapi[standard]"` it comes with some default optional standard dependencies. If you don't want to have those optional dependencies, you can instead install `pip install fastapi`. /// ## Advanced User Guide
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 21:52:09 UTC 2024 - 6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/50_maintainer_chore.yml
description: | Please describe the problem as concisely as possible. validations: required: true - type: textarea id: context attributes: label: Context (optional) description: | How has this issue affected you? What are you trying to accomplish? Providing context helps us come up with a solution that is most useful in the real world validations:
Registered: Wed Oct 30 11:36:09 UTC 2024 - Last Modified: Tue Sep 12 11:52:53 UTC 2023 - 856 bytes - Viewed (0) -
fastapi/openapi/docs.py
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
For example, this model above declares a JSON "`object`" (or Python `dict`) like: ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ...as `description` and `tax` are optional (with a default value of `None`), this JSON "`object`" would also be valid: ```JSON
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.5K bytes - Viewed (0) -
fastapi/exceptions.py
from typing import Any, Dict, Optional, Sequence, Type, Union from pydantic import BaseModel, create_model from starlette.exceptions import HTTPException as StarletteHTTPException from starlette.exceptions import WebSocketException as StarletteWebSocketException from typing_extensions import Annotated, Doc class HTTPException(StarletteHTTPException): """ An HTTP exception you can raise in your own code to show errors to the client.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
import org.codelibs.fess.mylasta.action.FessUserBean; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.RenderDataUtil; import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.login.exception.LoginFailureException; import org.lastaflute.web.response.HtmlResponse;
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.DocumentUtil; import org.codelibs.fess.util.FacetResponse; import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.util.LaRequestUtil; import org.opensearch.action.search.SearchRequestBuilder; import org.opensearch.action.search.SearchResponse;
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
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: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0)