- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 472 for tabs (0.01 seconds)
-
tests/test_tutorial/test_query_param_models/test_tutorial001.py
"limit": 10, "offset": 5, "order_by": "updated_at", "tags": ["tag1", "tag2"], }, ) assert response.status_code == 200 assert response.json() == { "limit": 10, "offset": 5, "order_by": "updated_at", "tags": ["tag1", "tag2"], } def test_query_param_model_defaults(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.8K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial002_py39.py
price: float tax: Union[float, None] = None tags: set[str] = set() @app.post("/items/", response_model=Item, tags=["items"]) async def create_item(item: Item): return item @app.get("/items/", tags=["items"]) async def read_items(): return [{"name": "Foo", "price": 42}] @app.get("/users/", tags=["users"]) async def read_users():Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 575 bytes - Click Count (0) -
internal/bucket/replication/filter.go
return err } } return nil } // TestTags tests if the object tags satisfy the Filter tags requirement, // it returns true if there is no tags in the underlying Filter. func (f *Filter) TestTags(userTags string) bool { if f.cachedTags == nil { cached := make(map[string]string) for _, t := range append(f.And.Tags, f.Tag) { if !t.IsEmpty() { cached[t.Key] = t.Value } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 28 18:25:46 GMT 2022 - 3.5K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial002b_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 323 bytes - Click Count (0) -
tests/test_tutorial/test_body_updates/test_tutorial002.py
"price": 50.2, "tax": 10.5, "tags": [], } def test_patch_all(client: TestClient): response = client.patch( "/items/foo", json={ "name": "Fooz", "description": "Item description", "price": 3, "tax": 10.5, "tags": ["tag1", "tag2"], }, ) assert response.json() == {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 7.1K bytes - Click Count (0) -
cmd/batch-rotate_gen.go
return } case "Tags": var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "Tags") return } if cap(z.Tags) >= int(zb0002) { z.Tags = (z.Tags)[:zb0002] } else { z.Tags = make([]BatchJobKV, zb0002) } for za0001 := range z.Tags { err = z.Tags[za0001].DecodeMsg(dc) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 27.1K bytes - Click Count (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
tagName1=$(./mc ilm rule list sited/bucket --json | jq '.config.Rules[0].Filter.And.Tags[0].Key' | sed 's/"//g') tagVal1=$(./mc ilm rule list sited/bucket --json | jq '.config.Rules[0].Filter.And.Tags[0].Value' | sed 's/"//g') tagName2=$(./mc ilm rule list sited/bucket --json | jq '.config.Rules[0].Filter.And.Tags[1].Key' | sed 's/"//g') tagVal2=$(./mc ilm rule list sited/bucket --json | jq '.config.Rules[0].Filter.And.Tags[1].Value' | sed 's/"//g') if [ "${prefix}" != "myprefix" ]; then
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 12.8K bytes - Click Count (0) -
internal/bucket/lifecycle/and.go
x := make(map[string]struct{}, len(a.Tags)) for _, t := range a.Tags { if _, has := x[t.Key]; has { return true } x[t.Key] = struct{}{} } return false } // BySize returns true when sz satisfies a // ObjectSizeLessThan/ObjectSizeGreaterthan or a logical AND of these predicates // Note: And combines size and other predicates like Tags, Prefix, etc. This
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 2.9K bytes - Click Count (0) -
cmd/batch-expire_gen.go
return } } case "Tags": var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "Tags") return } if cap(z.Tags) >= int(zb0002) { z.Tags = (z.Tags)[:zb0002] } else { z.Tags = make([]BatchJobKV, zb0002) } for za0001 := range z.Tags { err = z.Tags[za0001].DecodeMsg(dc) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
internal/logger/audit.go
entry.API.TimeToResponseInNS = strconv.FormatInt(timeToResponse.Nanoseconds(), 10) // We hold the lock, so we cannot call reqInfo.GetTagsMap(). tags := make(map[string]any, len(reqInfo.tags)) for _, t := range reqInfo.tags { tags[t.Key] = t.Val } entry.Tags = tags // ignore cases for ttfb when its zero. if timeToFirstByte != 0 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.6K bytes - Click Count (0)