- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 2,251 for myitem (0.04 seconds)
-
tests/test_tutorial/test_response_model/test_tutorial001_tutorial001_01.py
"tags": [], "tax": None, }, ] def test_create_item(client: TestClient): item_data = { "name": "Test Item", "description": "A test item", "price": 10.5, "tax": 1.5, "tags": ["test", "item"], } response = client.post("/items/", json=item_data) assert response.status_code == 200, response.text assert response.json() == item_data
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 6.5K bytes - Click Count (0) -
misc/cgo/gmp/fib.go
// and foreign code on multiple pthreads. package main import ( big "." "runtime" ) func fibber(c chan *big.Int, out chan string, n int64) { // Keep the fibbers in dedicated operating system // threads, so that this program tests coordination // between pthreads and not just goroutines. runtime.LockOSThread() i := big.NewInt(n) if n == 0 { c <- i } for { j := <-c
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Apr 10 22:32:35 GMT 2023 - 919 bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
}, "summary": "Create an item", "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item", "operationId": "create_item_items__post",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 5K bytes - Click Count (0) -
cmd/admin-handlers-site-replication.go
case madmin.SRBucketMetaTypeObjectLockConfig: err = globalSiteReplicationSys.PeerBucketObjectLockConfigHandler(ctx, item.Bucket, item.ObjectLockConfig, item.UpdatedAt) case madmin.SRBucketMetaTypeSSEConfig: err = globalSiteReplicationSys.PeerBucketSSEConfigHandler(ctx, item.Bucket, item.SSEConfig, item.UpdatedAt) case madmin.SRBucketMetaLCConfig:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
/** Time-to-live for cached authentication in milliseconds */ private long authenticationTTL = 3600000L; // 1 hour default /** Timestamp when the authentication was created */ private long authenticationTimestamp = System.currentTimeMillis(); /** Flag to track if this authenticator has been closed */ private volatile boolean closed = false; /** * Construct anonymous credentials */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
docs_src/additional_status_codes/tutorial001_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 684 bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial001_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 @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: Union[str, None] = None, item: Union[Item, None] = None, ): results = {"item_id": item_id}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 596 bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial005_py310.py
app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post( "/items/", response_model=Item, summary="Create an item", response_description="The created item", ) async def create_item(item: Item): """ Create an item with all the information:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 698 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostFile.java
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 25 18:02:55 GMT 2019 - 1.5K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial005_py39.py
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", response_description="The created item", ) async def create_item(item: Item): """ Create an item with all the information:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 736 bytes - Click Count (0)