Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,012 for modelX (0.04 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java

        /**
         * Creates a new model source backed by the specified URL.
         *
         * @param settingsUrl The settings URL, must not be {@code null}.
         */
        public UrlSettingsSource(URL settingsUrl) {
            super(settingsUrl);
        }
    
        /**
         * Gets the settings URL of this model source.
         *
         * @return The underlying settings URL, never {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. tests/test_pydantic_v1_error.py

        class ResponseModelV1(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.get("/response-model", response_model=ResponseModelV1)
            def endpoint():  # pragma: no cover
                return {"name": "test"}
    
    
    def test_raises_pydantic_v1_model_in_additional_responses_model() -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. tests/scanner_valuer_test.go

    	if err := DB.Create(&data).Error; err != nil {
    		t.Errorf("Should got no error when creating data, but got %v", err)
    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("xnewpass")).Error; err == nil {
    		t.Errorf("Should failed to update data with invalid data")
    	}
    
    	if err := DB.Model(&data).Update("password", EncryptedData("newpass")).Error; err != nil {
    		t.Errorf("Should got no error update data with valid data, but got %v", err)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Click Count (0)
  4. docs/zh/docs/how-to/general.md

    ## 数据过滤 - 安全性 { #filter-data-security }
    
    为确保不返回超过需要的数据,请阅读 [教程 - 响应模型 - 返回类型](../tutorial/response-model.md) 文档。
    
    ## 优化响应性能 - 响应模型 - 返回类型 { #optimize-response-performance-response-model-return-type }
    
    在返回 JSON 数据时优化性能,请使用返回类型或响应模型,这样 Pydantic 会在 Rust 侧处理到 JSON 的序列化,而无需经过 Python。更多内容请阅读 [教程 - 响应模型 - 返回类型](../tutorial/response-model.md) 文档。
    
    ## 文档的标签 - OpenAPI { #documentation-tags-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        }
    
        //
        // Taken from LegacyRepositorySystem
        //
    
        public static org.apache.maven.model.Repository fromSettingsRepository(
                org.apache.maven.settings.Repository settingsRepository) {
            org.apache.maven.model.Repository modelRepository = new org.apache.maven.model.Repository();
            modelRepository.setId(settingsRepository.getId());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/testing.md

    /// info
    
    Note that the `TestClient` receives data that can be converted to JSON, not Pydantic models.
    
    If you have a Pydantic model in your test and you want to send its data to the application during testing, you can use the `jsonable_encoder` described in [JSON Compatible Encoder](encoder.md).
    
    ///
    
    ## Run it { #run-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. docs/de/docs/advanced/json-base64-bytes.md

    Verwenden Sie base64 nur, wenn Sie Binärdaten unbedingt in JSON einbetten müssen und dafür keine Dateien verwenden können.
    
    ## Pydantic `bytes` { #pydantic-bytes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  8. build-tools-internal/build.gradle

    
    import org.elasticsearch.gradle.internal.conventions.VersionPropertiesLoader
    import org.apache.tools.ant.taskdefs.condition.Os
    import org.gradle.plugins.ide.eclipse.model.AccessRule
    import org.gradle.plugins.ide.eclipse.model.SourceFolder
    import org.gradle.plugins.ide.eclipse.model.ProjectDependency
    
    plugins {
      id 'java-gradle-plugin'
      id 'groovy-gradle-plugin'
      id 'groovy'
      id 'elasticsearch.build-tools'
      id 'elasticsearch.eclipse'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/encoder.md

    Aynı şekilde bu veritabanı bir Pydantic model'i (attribute'lara sahip bir obje) de kabul etmez; yalnızca bir `dict` kabul eder.
    
    Bunun için `jsonable_encoder` kullanabilirsiniz.
    
    Bir Pydantic model gibi bir obje alır ve JSON ile uyumlu bir versiyonunu döndürür:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    Bu örnekte, Pydantic model'i bir `dict`'e, `datetime`'ı da bir `str`'e dönüştürür.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/body-multiple-params.md

    Suponha que você tem um único parâmetro de corpo `item`, a partir de um modelo Pydantic `Item`.
    
    Por padrão, o **FastAPI** esperará que seu conteúdo venha no corpo diretamente.
    
    Mas se você quiser que ele espere por um JSON com uma chave `item` e dentro dele os conteúdos do modelo, como ocorre ao declarar vários parâmetros de corpo, você pode usar o parâmetro especial de `Body` chamado `embed`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top