- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for myproduct (0.13 sec)
-
tests/test_request_body_parameters_media_type.py
# NOTE: These are not valid JSON:API resources # but they are fine for testing requestBody with custom media_type class Product(BaseModel): name: str price: float class Shop(BaseModel): name: str @app.post("/products") async def create_product(data: Product = Body(media_type=media_type, embed=True)): pass # pragma: no cover @app.post("/shops") async def create_shop(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.3K bytes - Viewed (0) -
tests/test_get_request_body.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Product(BaseModel): name: str description: str = None # type: ignore price: float @app.get("/product") async def create_item(product: Product): return product client = TestClient(app) def test_get_with_body():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.7K bytes - Viewed (0) -
tests/serializer_test.go
} // Test creating record with nil any field product := ProductWithAny{Name: "Product 1"} if err := DB.Create(&product).Error; err != nil { t.Fatalf("failed to create product with nil any field, got error %v", err) } // Test updating/saving record with nil any field (should not panic) product.Name = "Product 1 (Updated)" if err := DB.Save(&product).Error; err != nil {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
when(project.getBasedir()).thenReturn(Path.of("myproject")); when(project.getOutputDirectory(any(ProjectScope.class))).thenCallRealMethod(); assertEquals(Path.of("myproject", "target", "classes"), targetPath(project)); scope = ProjectScope.TEST; assertEquals(Path.of("myproject", "target", "test-classes"), targetPath(project)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Oct 26 17:22:14 UTC 2025 - 2.9K bytes - Viewed (0) -
dbflute_fess/dfprop/sequenceMap.dfprop
# ; MEMBER = SEQ_MEMBER # ; MEMBER_LOGIN = SEQ_MEMBER_LOGIN # ; PRODUCT = SEQ_PRODUCT # } # # *The line that starts with '#' means comment-out. # map:{ #; PURCHASE = SEQ_PURCHASE #; MEMBER = SEQ_MEMBER #; MEMBER_LOGIN = SEQ_MEMBER_LOGIN #; PRODUCT = SEQ_PRODUCT }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Oct 31 23:35:14 UTC 2015 - 717 bytes - Viewed (0) -
apache-maven/src/main/appended-resources/META-INF/NOTICE.vm
Google Guice - Core Library Copyright 2006-2022 Google, Inc. This product includes software developed at The Apache Software Foundation (http://www.apache.org/). META-INF/NOTICE in archive lib/plexus-utils-3.2.1.jar This product includes software developed by the Indiana University Extreme! Lab (http://www.extreme.indiana.edu/). This product includes software developed by The Apache Software Foundation (http://www.apache.org/). This product includes software developed by ThoughtWorks (http://www.thoughtworks.com)....
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Sep 10 19:27:25 UTC 2022 - 5.5K bytes - Viewed (0) -
dbflute_fess/dfprop/conditionBeanMap.dfprop
# # This means that String includes GreaterThan at MEMBER.MEMBER_ACCOUNT only # # and LessThan at PRODUCT.PRODUCT_NAME and PRODUCT.PRODUCT_HANDLE_CODE, # # and InScope for LONGVARCHAR(e.g. text type) is excluded. # ; String = map:{ # ; GreaterThan = map:{ MEMBER = list:{ MEMBER_ACCOUNT } } # ; LessThan = map:{ PRODUCT = list:{ PRODUCT_NAME ; PRODUCT_HANDLE_CODE } } # ; !InScope = map:{ $$ALL$$ = list:{ type:LONGVARCHAR } }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Oct 31 23:35:14 UTC 2015 - 4K bytes - Viewed (0) -
NOTICE
Apache Maven Copyright 2001-2019 The Apache Software Foundation This product includes software developed at
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Nov 16 22:18:37 UTC 2019 - 166 bytes - Viewed (0) -
LICENSES/third_party/forked/libcontainer/NOTICE
runc Copyright 2012-2015 Docker, Inc. This product includes software developed at Docker, Inc. (http://www.docker.com). The following is courtesy of our legal counsel: Use and transfer of Docker may be subject to certain restrictions by the United States and other governments. It is your responsibility to ensure that your use and/or transfer does not violate applicable laws. For more information, please see http://www.bis.doc.gov
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Tue Oct 22 13:56:22 UTC 2024 - 518 bytes - Viewed (0) -
NOTICE
MinIO Project, (C) 2015-2023 MinIO, Inc. This product includes software developed at MinIO, Inc. (https://min.io/). The MinIO project contains unmodified/modified subcomponents too with separate copyright notices and license terms. Your use of the source code for these subcomponents is subject to the terms and conditions
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Feb 18 18:33:50 UTC 2023 - 367 bytes - Viewed (0)