Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for Mode (0.03 seconds)

  1. fastapi/_compat/v2.py

            self,
            value: Any,
            *,
            mode: Literal["json", "python"] = "json",
            include: Union[IncEx, None] = None,
            exclude: Union[IncEx, None] = None,
            by_alias: bool = True,
            exclude_unset: bool = False,
            exclude_defaults: bool = False,
            exclude_none: bool = False,
        ) -> Any:
            # What calls this code passes a value that already called
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  2. fastapi/utils.py

                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)
        kwargs = {"mode": mode, "name": name, "field_info": field_info}
        try:
            return v2.ModelField(**kwargs)  # type: ignore[return-value,arg-type]
        except PydanticSchemaGenerationError:
            raise fastapi.exceptions.FastAPIError(
    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)
  3. .github/workflows/test.yml

            env:
                COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
                CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
            with:
              mode: simulation
              run: coverage run -m pytest tests/ --codspeed
          # Do not store coverage for all possible combinations to avoid file size max errors in Smokeshow
          - name: Store coverage files
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 08:53:59 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. fastapi/encoders.py

            include = set(include)
        if exclude is not None and not isinstance(exclude, (set, dict)):
            exclude = set(exclude)
        if isinstance(obj, BaseModel):
            obj_dict = obj.model_dump(
                mode="json",
                include=include,
                exclude=exclude,
                by_alias=by_alias,
                exclude_unset=exclude_unset,
                exclude_none=exclude_none,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. .bazelrc

    #     cuda_clang:             Use Clang when building CUDA code.
    #     avx_linux:              Build with avx instruction set on linux.
    #     avx_win:                Build with avx instruction set on windows
    #
    # Other build options:
    #     short_logs:       Only log errors during build, skip warnings.
    #     verbose_logs:     Show all compiler warnings during build.
    #     monolithic:       Build all TF C++ code into a single shared object.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  6. docs/de/docs/index.md

    * <a href="https://github.com/JoshData/python-email-validator" target="_blank"><code>email-validator</code></a> – für E-Mail-Validierung.
    
    Verwendet von Starlette:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>httpx</code></a> – erforderlich, wenn Sie den `TestClient` verwenden möchten.
    * <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> – erforderlich, wenn Sie die Default-Template-Konfiguration verwenden möchten.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 25.8K bytes
    - Click Count (1)
  7. docs/en/docs/release-notes.md

        * <a href="https://docs.pydantic.dev/latest/usage/pydantic_settings/" target="_blank"><code>pydantic-settings</code></a> - for settings management.
        * <a href="https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/" target="_blank"><code>pydantic-extra-types</code></a> - for extra types to be used with Pydantic.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  8. fastapi/routing.py

                Doc(
                    """
                    The default status code to be used for the response.
    
                    You could override the status code by returning a response directly.
    
                    Read more about it in the
                    [FastAPI docs for Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/).
                    """
                ),
            ] = None,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/dataclasses.md

    Você também pode combinar `dataclasses` com outras anotações de tipo para criar estruturas de dados aninhadas.
    
    Em alguns casos, você ainda pode ter que usar a versão do Pydantic das `dataclasses`. Por exemplo, se você tiver erros com a documentação da API gerada automaticamente.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. scripts/translate.py

    "code snippet"
    
        Also called "inline code". Text in a Markdown document which is surrounded by single backticks. A paragraph in a Markdown document can have a more than one code snippet.
    
        Example:
    
            «««
            `i am a code snippet`
            »»»
    
        Example:
    
            «««
            `first code snippet` `second code snippet` `third code snippet`
            »»»
    
    "code block"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
Back to Top