Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 1,316 for model (0.02 seconds)

  1. tests/submodel_test.go

    	if err := DB.Create(&man).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	if err := DB.Model(&man).Where("id = ?", man.ID).Updates(struct {
    		Age int
    	}{Age: 20}).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	var result = struct {
    		ID  int
    		Age int
    	}{}
    	if err := DB.Model(&man).Where("id = ?", man.ID).Find(&result).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 947 bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/cookie-param-models.md

    ///
    
    ## Cookies con un Modelo de Pydantic { #cookies-with-a-pydantic-model }
    
    Declara los parámetros de **cookie** que necesites en un **modelo de Pydantic**, y luego declara el parámetro como `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** **extraerá** los datos para **cada campo** de las **cookies** recibidas en el request y te entregará el modelo de Pydantic que definiste.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

    import org.apache.maven.lifecycle.mapping.LifecycleMojo;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.InputSource;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  4. docs/uk/docs/advanced/additional-responses.md

    ## Додаткова відповідь з `model` { #additional-response-with-model }
    
    Ви можете передати вашим декораторам операцій шляху параметр `responses`.
    
    Він приймає `dict`: ключі - це коди статусу для кожної відповіді (наприклад, `200`), а значення - інші `dict` з інформацією для кожної з них.
    
    Кожен із цих словників відповіді може мати ключ `model`, що містить Pydantic-модель, подібно до `response_model`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/advanced/response-directly.md

    如果你宣告了 [回應模型](../tutorial/response-model.md),FastAPI 會用 Pydantic 將資料序列化為 JSON。
    
    如果你沒有宣告回應模型,FastAPI 會使用在[JSON 相容編碼器](../tutorial/encoder.md)中說明的 `jsonable_encoder`,並把它放進 `JSONResponse`。
    
    但你也可以直接從路徑操作回傳 `JSONResponse`。
    
    /// tip
    
    通常使用 [回應模型](../tutorial/response-model.md) 會有更好的效能,因為那樣會在 Rust 端使用 Pydantic 來序列化資料,而不是直接回傳 `JSONResponse`。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. tests/test_response_class_no_mediatype.py

        errors: list[Error]
    
    
    @app.get(
        "/a",
        response_class=Response,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    @app.get("/b", responses={500: {"description": "Error", "model": Error}})
    async def b():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. src/main/resources/fess_label_en.properties

    labels.chat_error_model_not_found=The AI model was not found. Please contact the administrator.
    labels.chat_error_invalid_response=Received an invalid response from the AI service. Please try again.
    labels.chat_error_connection=Unable to connect to the AI service. Please check the network connection.
    labels.chat_sources=Sources
    labels.chat_ai_mode=AI Mode
    labels.chat_status_ready=AI Assistant
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 48.9K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import java.util.Properties;
    
    import org.apache.maven.api.model.Activation;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.model.building.SimpleProblemCollector;
    import org.apache.maven.model.profile.ProfileActivationContext;
    import org.junit.jupiter.api.BeforeEach;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top