Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 840 for ModelC (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/security/http.py

    import binascii
    from base64 import b64decode
    from typing import Annotated, Optional
    
    from annotated_doc import Doc
    from fastapi.exceptions import HTTPException
    from fastapi.openapi.models import HTTPBase as HTTPBaseModel
    from fastapi.openapi.models import HTTPBearer as HTTPBearerModel
    from fastapi.security.base import SecurityBase
    from fastapi.security.utils import get_authorization_scheme_param
    from pydantic import BaseModel
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. docs/es/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    No está soportado por Pydantic tener un modelo de Pydantic v2 con sus propios campos definidos como modelos de Pydantic v1 o viceversa.
    
    ```mermaid
    graph TB
        subgraph "❌ Not Supported"
            direction TB
            subgraph V2["Pydantic v2 Model"]
                V1Field["Pydantic v1 Model"]
            end
            subgraph V1["Pydantic v1 Model"]
                V2Field["Pydantic v2 Model"]
            end
        end
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:16:35 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/path-operation-advanced-configuration.md

    ////
    
    /// info | Información
    
    En la versión 1 de Pydantic el método para obtener el JSON Schema para un modelo se llamaba `Item.schema()`, en la versión 2 de Pydantic, el método se llama `Item.model_json_schema()`.
    
    ///
    
    Sin embargo, aunque no estamos usando la funcionalidad integrada por defecto, aún estamos usando un modelo Pydantic para generar manualmente el JSON Schema para los datos que queremos recibir en YAML.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/path-operation-advanced-configuration.md

    ////
    
    /// info | Informação
    
    Na versão 1 do Pydantic, o método para obter o JSON Schema de um modelo é `Item.schema()`, na versão 2 do Pydantic, o método é `Item.model_json_schema()`.
    
    ///
    
    Entretanto, mesmo que não utilizemos a funcionalidade integrada por padrão, ainda estamos usando um modelo Pydantic para gerar um JSON Schema manualmente para os dados que queremos receber no formato YAML.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/sql-databases.md

    ---> 100%
    ```
    
    </div>
    
    ## Создание приложения с единственной моделью { #create-the-app-with-a-single-model }
    
    Сначала мы создадим самую простую первую версию приложения с одной моделью **SQLModel**.
    
    Позже мы улучшим его, повысив безопасность и универсальность, добавив **несколько моделей**. 🤓
    
    ### Создание моделей { #create-models }
    
    Импортируйте `SQLModel` и создайте модель базы данных:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/security/get-current-user.md

    ## Other models { #other-models }
    
    You can now get the current user directly in the *path operation functions* and deal with the security mechanisms at the **Dependency Injection** level, using `Depends`.
    
    And you can use any model or data for the security requirements (in this case, a Pydantic model `User`).
    
    But you are not restricted to using some specific data model, class or type.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/body-multiple-params.md

    ///
    
    ## Embed a single body parameter { #embed-a-single-body-parameter }
    
    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 12:58:04 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. fastapi/utils.py

        version: Literal["1", "auto"] = "auto",
    ) -> ModelField:
        if annotation_is_pydantic_v1(type_):
            raise PydanticV1NotSupportedError(
                "pydantic.v1 models are no longer supported by FastAPI."
                f" Please update the response model {type_!r}."
            )
        class_validators = class_validators or {}
    
        field_info = field_info or FieldInfo(annotation=type_, default=default, alias=alias)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. tests/query_test.go

    				})
    			}
    		}
    	})
    
    	var models []User
    	if err := DB.Where("name in (?)", []string{"find"}).Find(&models).Error; err != nil || len(models) != 3 {
    		t.Errorf("errors happened when query find with in clause: %v, length: %v", err, len(models))
    	} else {
    		for idx, user := range users {
    			t.Run("FindWithInClause#"+strconv.Itoa(idx+1), func(t *testing.T) {
    				CheckUser(t, models[idx], user)
    			})
    		}
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

    /**
     * Strategy for applying Maven inference optimizations.
     * For 4.0.0 models: applies limited inference (parent-related only).
     * For 4.1.0+ models: applies full inference optimizations.
     * Removes redundant information that can be inferred by Maven during model building.
     */
    @Named
    @Singleton
    @Priority(30)
    public class InferenceStrategy extends AbstractUpgradeStrategy {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
Back to Top