- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 2,074 for edata (0.02 seconds)
-
tests/test_request_body_parameters_media_type.py
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( data: Shop = Body(media_type=media_type), included: list[Product] = Body(default=[], media_type=media_type), ): pass # pragma: no coverCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 7.2K bytes - Click Count (0) -
internal/crypto/sse-kms.go
// - We use a KMS -> There must be non-empty key ID and a KMS data key. // - We use a K/V -> There must be no key ID and no KMS data key. // Otherwise, the caller has passed an invalid argument combination. if keyID == "" && len(kmsKey) != 0 { logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present")) } if keyID != "" && len(kmsKey) == 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 8.5K bytes - Click Count (0) -
docs/en/docs/python-types.md
[Pydantic](https://docs.pydantic.dev/) is a Python library to perform data validation. You declare the "shape" of the data as classes with attributes. And each attribute has a type. Then you create an instance of that class with some values and it will validate the values, convert them to the appropriate type (if that's the case) and give you an object with all the data. And you get all the editor support with that resulting object.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt
import configurations.ParallelizationMethod import java.util.SortedSet class TestClassTime( val sourceSet: String, val buildTimeMs: Int, ) data class TestCoverageAndBucketSplits( val testCoverageUuid: Int, val buckets: List<FunctionalTestBucket>, ) data class FunctionalTestBucket( val subprojects: SortedSet<String>, val parallelizationMethod: ParallelizationMethod, ) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 3.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheMetadata.java
* Implementations can specify how long cached data should be retained. * * @since 4.0.0 */ @Experimental public interface CacheMetadata { /** * Returns the cache retention that should be applied to the associated data. * * @return The CacheRetention indicating how long data should be retained, or null if * no specific cache retention is defined */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 1.4K bytes - Click Count (0) -
tests/postgres_test.go
} harumph := Harumph{} if err := DB.Create(&harumph).Error; err == nil { t.Fatalf("should failed to create data, name can't be blank") } harumph = Harumph{Name: "jinzhu"} if err := DB.Create(&harumph).Error; err != nil { t.Fatalf("should be able to create data, but got %v", err) } var result Harumph if err := DB.First(&result, "id = ?", harumph.ID).Error; err != nil || harumph.Name != "jinzhu" {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Oct 08 09:16:32 GMT 2022 - 6.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
if (context.executionException.isPresent) return@AfterEachCallback assertThat(data.readByteString().hex(), "Data not empty") .isEqualTo("") } // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test. private val serverWriter = WebSocketWriter( isClient = false, sink = data, random = random, perMessageDeflate = false,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9.3K bytes - Click Count (0) -
docs/zh/docs/advanced/json-base64-bytes.md
查看 `/docs` 时,你会看到字段 `data` 期望接收 base64 编码的字节: <div class="screenshot"> <img src="/img/tutorial/json-base64-bytes/image01.png"> </div> 你可以发送如下请求: ```json { "description": "Some data", "data": "aGVsbG8=" } ``` /// tip | 提示 `aGVsbG8=` 是 `hello` 的 base64 编码。 /// 随后 Pydantic 会解码该 base64 字符串,并在模型的 `data` 字段中提供原始字节。 你将会收到类似的响应: ```json {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
@BeforeEach void setUp() { ace = new ACE(); } @Test @DisplayName("Test decode with allow ACE") void testDecodeAllowACE() throws Exception { // Prepare test data - Allow ACE testBuffer = new byte[100]; testBuffer[0] = 0x00; // Allow ACE testBuffer[1] = 0x03; // FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT testBuffer[2] = 0x20; // Size low byte (32)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratePlatformsDataTask.kt
abstract class GeneratePlatformsDataTask : DefaultTask() { data class PlatformData(val name: String, val dirs: List<String>, val uses: List<String>) @get:OutputFile abstract val outputFile: RegularFileProperty @get:Input abstract val platforms: ListProperty<Platform> @TaskAction fun action() { val allPlatforms = platforms.get() val data = allPlatforms.map { platform -> PlatformData(
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 1.6K bytes - Click Count (0)