- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for confirm (0.2 sec)
-
.github/ISSUE_TEMPLATE/privileged.yml
- type: checkboxes id: privileged attributes: label: Privileged issue description: Confirm that you are allowed to create an issue here. options: - label: I'm @tiangolo or he asked me directly to create an issue here. required: true - type: textarea id: content attributes:
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 31 14:02:52 GMT 2023 - 889 bytes - Viewed (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
- type: checkboxes id: checks attributes: label: First Check description: Please confirm and check all the following options. options: - label: I added a very descriptive title here. required: true - label: I used the GitHub search to find a similar question and didn't find it.
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Aug 03 15:59:41 GMT 2023 - 5.8K bytes - Viewed (1) -
docs/en/docs/how-to/separate-openapi-schemas.md
``` </details> ...then the `description` field will **not be required**. Because it has a default value of `None`. ### Input Model in Docs You can confirm that in the docs, the `description` field doesn't have a **red asterisk**, it's not marked as required: <div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image01.png"> </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 6.7K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/config.yml
Sebastián RamÃrez <******@****.***> 1675173772 +0100
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 31 14:02:52 GMT 2023 - 930 bytes - Viewed (0) -
pdm_build.py
include_optional_dependencies: List[str] = config.get( "include-optional-dependencies", [] ) # Override main [project] configs with custom configs for this package for key, value in project_config.items(): metadata[key] = value # Get custom build config for the current package build_config: Dict[str, Any] = ( config.get("tool", {}).get("pdm", {}).get("build", {}) )
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 30 06:38:13 GMT 2024 - 1.7K bytes - Viewed (0) -
tests/test_compat.py
class_validators={}, model_config=BaseConfig, ) assert not is_pv1_scalar_field(field) @needs_pydanticv2 def test_get_model_config(): # For coverage in Pydantic v2 class Foo(BaseModel): model_config = ConfigDict(from_attributes=True) foo = Foo() config = _get_model_config(foo) assert config == {"from_attributes": True} def test_complex():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 2.8K bytes - Viewed (0) -
docs_src/settings/app03_an_py39/main.py
from functools import lru_cache from fastapi import Depends, FastAPI from typing_extensions import Annotated from . import config app = FastAPI() @lru_cache def get_settings(): return config.Settings() @app.get("/info") async def info(settings: Annotated[config.Settings, Depends(get_settings)]): return { "app_name": settings.app_name, "admin_email": settings.admin_email,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 462 bytes - Viewed (0) -
docs_src/sql_databases/sql_app_py310/schemas.py
pass class Item(ItemBase): id: int owner_id: int class Config: orm_mode = True class UserBase(BaseModel): email: str class UserCreate(UserBase): password: str class User(UserBase): id: int is_active: bool items: list[Item] = [] class Config:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 464 bytes - Viewed (0) -
fastapi/utils.py
{ "type_": type_, "class_validators": class_validators, "default": default, "required": required, "model_config": model_config, "alias": alias, } ) try: return ModelField(**kwargs) # type: ignore[arg-type] except (RuntimeError, PydanticSchemaGenerationError):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.8K bytes - Viewed (0) -
tests/test_additional_properties_bool.py
from fastapi.testclient import TestClient from pydantic import BaseModel, ConfigDict class FooBaseModel(BaseModel): if PYDANTIC_V2: model_config = ConfigDict(extra="forbid") else: class Config: extra = "forbid" class Foo(FooBaseModel): pass app = FastAPI() @app.post("/") async def post( foo: Union[Foo, None] = None, ):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4.2K bytes - Viewed (0)