- Sort Score
- Result 10 results
- Languages All
Results 1011 - 1020 of 2,177 for myitem (0.2 sec)
-
docs_src/path_operation_configuration/tutorial003_py39.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() @app.post( "/items/", response_model=Item, summary="Create an item", description="Create an item with all the information, name, description, price, tax and a set of unique tags", )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 512 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: str | None = None, item: Item | None = None, ): results = {"item_id": item_id} if q:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 546 bytes - Viewed (0) -
docs_src/dependencies/tutorial008b_an_py39.py
def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id not in data: raise HTTPException(status_code=404, detail="Item not found") item = data[item_id] if item["owner"] != username: raise OwnerError(username)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 26 20:37:34 UTC 2023 - 775 bytes - Viewed (0) -
docs_src/additional_status_codes/tutorial001_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 646 bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
public void testAuthenticationTimestamp() throws InterruptedException { long beforeCreation = System.currentTimeMillis(); NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "TimestampPass123!"); long afterCreation = System.currentTimeMillis(); // Set a reasonable TTL auth.setAuthenticationTTL(1000); // 1 second
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
cmd/metrics-v3-types.go
if err := loader(ctx, m, c); err != nil { return err } } return nil } } // BucketMetricsLoaderFn - represents a function to load metrics from the // metricsCache and the system for a given list of buckets. // // Note that returning an error here will cause the Metrics handler to return a // 500 Internal Server Error.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
verify(response).error(); } @Test @DisplayName("Test Response interface methods - getExpiration") void testGetExpiration() { // Given Long expectedExpiration = System.currentTimeMillis() + 30000L; when(response.getExpiration()).thenReturn(expectedExpiration); // When Long actualExpiration = response.getExpiration(); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
@Resource protected ResponseManager responseManager; /** Time manager for handling date and time operations. */ @Resource protected TimeManager timeManager; /** System helper for various system-level operations. */ @Resource protected SystemHelper systemHelper; /** Helper for managing access tokens and API authentication. */ @ResourceRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
item.setText(null); item.setTimestamp(ZonedDateTime.now()); SuggestUtil.createBulkLine("test_index", "_doc", item); } @Test public void testCreateBulkLineWithMultipleReadings() { // Test with multiple reading levels SuggestItem item = new SuggestItem(new String[] { "test" },
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7.9K bytes - Viewed (0)