Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 251 for models2 (0.05 seconds)

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

  1. 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){.internal-link target=_blank}.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Não é suportado pelo Pydantic ter um modelo do Pydantic v2 com campos próprios definidos como modelos do Pydantic v1, ou vice-versa.
    
    ```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: Wed Nov 12 16:23:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java

                // Create model and set properties
                Model model = new Model();
                Properties props = model.getProperties();
    
                // Create properties and populate from map to maintain order
                orderedMap.forEach(props::setProperty);
    
                // Get the immutable delegate (v4 API model is already immutable)
                org.apache.maven.api.model.Model immutable = model.getDelegate();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 07:26:53 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. fastapi/security/api_key.py

    from typing import Annotated, Optional, Union
    
    from annotated_doc import Doc
    from fastapi.openapi.models import APIKey, APIKeyIn
    from fastapi.security.base import SecurityBase
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED
    
    
    class APIKeyBase(SecurityBase):
        def __init__(
            self,
            location: APIKeyIn,
            name: str,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  5. docs/de/docs/tutorial/body-multiple-params.md

    Nehmen wir an, Sie haben nur einen einzelnen `item`-Body-Parameter von einem Pydantic-Modell `Item`.
    
    Standardmäßig wird **FastAPI** dann seinen Body direkt erwarten.
    
    Aber wenn Sie möchten, dass es einen JSON-Body mit einem Schlüssel `item` erwartet, und darin den Inhalt des Modells, so wie es das tut, wenn Sie mehrere Body-Parameter deklarieren, dann können Sie den speziellen `Body`-Parameter `embed` setzen:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_sql_databases/test_tutorial002.py

    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/handling-errors.md

    /// warning | Увага
    
    Це технічні деталі, які Ви можете пропустити, якщо вони зараз не важливі для Вас.
    
    ///
    
    `RequestValidationError` є підкласом Pydantic <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/body-updates.md

    /// note | 備考
    
    入力モデルがまだ検証されていることに注目してください。
    
    そのため、すべての属性を省略できる部分的な変更を受け取りたい場合は、すべての属性をオプションとしてマークしたモデルを用意する必要があります(デフォルト値または`None`を使用して)。
    
    **更新** のためのオプション値がすべて設定されているモデルと、**作成** のための必須値が設定されているモデルを区別するには、[追加モデル](extra-models.md){.internal-link target=_blank}で説明されている考え方を利用することができます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/hash/BloomFilterStrategies.java

        private /* static */ long upperEight(byte[] bytes) {
          return Longs.fromBytes(
              bytes[15], bytes[14], bytes[13], bytes[12], bytes[11], bytes[10], bytes[9], bytes[8]);
        }
      };
    
      /**
       * Models a lock-free array of bits.
       *
       * <p>We use this instead of java.util.BitSet because we need access to the array of longs and we
       * need compare-and-swap.
       */
      static final class LockFreeBitArray {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jan 08 14:27:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/projects/plugin-manager/project-with-inheritance/pom.xml

                <tagBase>https://svn.apache.org/repos/asf/maven/components/tags</tagBase>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.codehaus.modello</groupId>
              <artifactId>modello-maven-plugin</artifactId>
              <version>${modelloVersion}</version>
              <configuration>
                <useJava5>true</useJava5>
              </configuration>
              <executions>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 22.4K bytes
    - Click Count (0)
Back to Top