- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 723 for tag5 (0.08 sec)
-
docs_src/body_nested_models/tutorial003_py39.py
from fastapi import FastAPI 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.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 409 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial003.py
from fastapi import FastAPI 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.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 414 bytes - Viewed (0) -
docs_src/query_param_models/tutorial001_an_py39.py
app = FastAPI() class FilterParams(BaseModel): limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 453 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_py39.py
class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: FilterParams = Query()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 472 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002.py
class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: List[str] = [] @app.get("/items/") async def read_items(filter_query: FilterParams = Query()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 497 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial006_py310.py
app = FastAPI() class Image(BaseModel): url: HttpUrl name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() images: list[Image] | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 475 bytes - Viewed (0) -
.github/workflows/go-fips.yml
EOF - name: Build uses: docker/build-push-action@v3 with: context: . file: Dockerfile.fips.test push: false load: true tags: minio/fips-test:latest # This should fail if grep returns non-zero exit - name: Test binary run: | docker run --rm minio/fips-test:latest ./minio --version
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/erasure-sets.go
} // PutObjectTags - replace or add tags to an existing object func (s *erasureSets) PutObjectTags(ctx context.Context, bucket, object string, tags string, opts ObjectOptions) (ObjectInfo, error) { er := s.getHashedSet(object) return er.PutObjectTags(ctx, bucket, object, tags, opts) } // DeleteObjectTags - delete object tags from an existing object
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/it/admin/GroupTests.java
import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import io.restassured.path.json.JsonPath; @Tag("it") public class GroupTests extends CrudTestBase { private static final String NAME_PREFIX = "groupTest_"; private static final String API_PATH = "/api/admin/group";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/bucket/versioning/versioning-tests.sh
./mc version enable sitea/testbucket ./mc put --quiet README.md sitea/testbucket/file etag1=$(./mc cat sitea/testbucket/file | md5sum --tag | awk {'print $4'}) ./mc cp --quiet --storage-class "STANDARD" sitea/testbucket/file sitea/testbucket/file etag2=$(./mc cat sitea/testbucket/file | md5sum --tag | awk {'print $4'}) if [ $etag1 != $etag2 ]; then echo "expected $etag1, got $etag2" exit 1 fi echo "SUCCESS:"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 2.5K bytes - Viewed (0)