- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 1,096 for sltr (0.02 seconds)
-
docs/tr/docs/advanced/advanced-python-types.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:41:38 GMT 2026 - 2.1K bytes - Click Count (0) -
docs_src/dataclasses_/tutorial002_py310.py
from dataclasses import dataclass, field from fastapi import FastAPI @dataclass class Item: name: str price: float tags: list[str] = field(default_factory=list) description: str | None = None tax: float | None = None app = FastAPI() @app.get("/items/next", response_model=Item) async def read_next_item(): return { "name": "Island In The Moon", "price": 12.99,Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 506 bytes - Click Count (0) -
guava/src/com/google/common/base/CaseFormat.java
* Converts the specified {@code String str} from this format to the specified {@code format}. A * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then * the behavior of this method is undefined but we make a reasonable effort at converting anyway. */ public final String to(CaseFormat format, String str) { checkNotNull(format); checkNotNull(str);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Dec 03 18:46:33 GMT 2025 - 6.5K bytes - Click Count (0) -
fastapi/_compat/v2.py
for item_def in cast(dict[str, dict[str, Any]], definitions).values(): if "description" in item_def: item_description = cast(str, item_def["description"]).split("\f")[0] item_def["description"] = item_description # definitions: dict[DefsRef, dict[str, Any]] # but mypy complains about general str in other places that are not declared as
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 16.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt
val name = truncateName(subprojects.joinToString(",")) private fun truncateName(str: String) = // Can't exceed Linux file name limit 255 char on TeamCity if (str.length > 200) { str.substring(0, 200) + "..." } else { str } override fun createFunctionalTestsFor( model: CIBuildModel, stage: Stage,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java
void testToString() { NbtException e = new NbtException(NbtException.ERR_SSN_SRVC, NbtException.NO_RESOURCES); String str = e.toString(); assertTrue(str.contains("errorClass=2")); assertTrue(str.contains("errorCode=" + NbtException.NO_RESOURCES)); assertTrue(str.contains("Called name present, but insufficient resources")); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
fastapi/security/open_id_connect_url.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 3.1K bytes - Click Count (0) -
docs_src/security/tutorial004_an_py310.py
} } class Token(BaseModel): access_token: str token_type: str class TokenData(BaseModel): username: str | None = None class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None class UserInDB(User): hashed_password: str password_hash = PasswordHash.recommended()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/uk/docs/tutorial/dependencies/sub-dependencies.md
```Python hl_lines="1" async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]): return {"fresh_value": fresh_value} ``` //// //// tab | Python 3.10+ без Annotated /// tip | Порада Надавайте перевагу версії з `Annotated`, якщо це можливо. /// ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:43:14 GMT 2026 - 5.7K bytes - Click Count (0) -
fastapi/security/api_key.py
from starlette.status import HTTP_401_UNAUTHORIZED class APIKeyBase(SecurityBase): model: APIKey def __init__( self, location: APIKeyIn, name: str, description: str | None, scheme_name: str | None, auto_error: bool, ): self.auto_error = auto_error self.model: APIKey = APIKey( **{"in": location}, # ty: ignore[invalid-argument-type]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 9.6K bytes - Click Count (1)