Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for dataclasses (0.27 sec)

  1. docs/en/mkdocs.yml

        - Advanced Security:
          - advanced/security/index.md
          - advanced/security/oauth2-scopes.md
          - advanced/security/http-basic-auth.md
        - advanced/using-request-directly.md
        - advanced/dataclasses.md
        - advanced/middleware.md
        - advanced/sub-applications.md
        - advanced/behind-a-proxy.md
        - advanced/templates.md
        - advanced/websockets.md
        - advanced/events.md
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:44:55 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. pyproject.toml

    "docs_src/dependencies/tutorial008_py39.py" = ["F821"]
    "docs_src/dependencies/tutorial009_py39.py" = ["F821"]
    "docs_src/dependencies/tutorial010_py39.py" = ["F821"]
    "docs_src/custom_response/tutorial007_py39.py" = ["B007"]
    "docs_src/dataclasses/tutorial003_py39.py" = ["I001"]
    "docs_src/path_operation_advanced_configuration/tutorial007_py39.py" = ["B904"]
    "docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py" = ["B904"]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. fastapi/params.py

    import warnings
    from collections.abc import Sequence
    from dataclasses import dataclass
    from enum import Enum
    from typing import Annotated, Any, Callable, Optional, Union
    
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.openapi.models import Example
    from pydantic import AliasChoices, AliasPath
    from pydantic.fields import FieldInfo
    from typing_extensions import Literal, deprecated
    
    from ._compat import (
        Undefined,
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  4. fastapi/_compat/v2.py

    import re
    import warnings
    from collections.abc import Sequence
    from copy import copy, deepcopy
    from dataclasses import dataclass, is_dataclass
    from enum import Enum
    from functools import lru_cache
    from typing import (
        Annotated,
        Any,
        Union,
        cast,
    )
    
    from fastapi._compat import shared
    from fastapi.openapi.constants import REF_TEMPLATE
    from fastapi.types import IncEx, ModelNameMap, UnionType
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    ## 0.67.0
    
    ### Features
    
    * ✨ Add support for `dataclasses` in request bodies and `response_model`. New documentation: [Advanced User Guide - Using Dataclasses](https://fastapi.tiangolo.com/advanced/dataclasses/). PR [#3577](https://github.com/tiangolo/fastapi/pull/3577) by [@tiangolo](https://github.com/tiangolo).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

         * @return The data class.
         */
        public Class<?> getDataClass() {
            return dataClass;
        }
    
        /**
         * Sets the data class.
         * @param dataClass The data class to set.
         */
        public void setDataClass(final Class<?> dataClass) {
            this.dataClass = dataClass;
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

        }
    
        /**
         * Returns the dataClass.
         *
         * @return the dataClass
         */
        public Class<?> getDataClass() {
            return dataClass;
        }
    
        /**
         * Sets the dataClass.
         *
         * @param dataClass the dataClass to set
         */
        public void setDataClass(final Class<?> dataClass) {
            this.dataClass = dataClass;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dataclasses/test_tutorial002.py

        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_get_item(client: TestClient):
        response = client.get("/items/next")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dataclasses/test_tutorial001.py

        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_post_item(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 3})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dataclasses/test_tutorial003.py

        params=[
            pytest.param("tutorial003_py39"),
            pytest.param("tutorial003_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_post_authors_item(client: TestClient):
        response = client.post(
            "/authors/foo/items/",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top