Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Learning (0.04 sec)

  1. tests/test_tutorial/test_path_params/test_tutorial005.py

    client = TestClient(app)
    
    
    def test_get_enums_alexnet():
        response = client.get("/models/alexnet")
        assert response.status_code == 200
        assert response.json() == {"model_name": "alexnet", "message": "Deep Learning FTW!"}
    
    
    def test_get_enums_lenet():
        response = client.get("/models/lenet")
        assert response.status_code == 200
        assert response.json() == {"model_name": "lenet", "message": "LeCNN all the images"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    * 📝 Add external link: Building simple E-Commerce with NuxtJS and FastAPI. PR [#3271](https://github.com/tiangolo/fastapi/pull/3271) by [@ShahriyarR](https://github.com/ShahriyarR).
    * 📝 Add external link: Serve a machine learning model using Sklearn, FastAPI and Docker. PR [#2974](https://github.com/tiangolo/fastapi/pull/2974) by [@rodrigo-arenas](https://github.com/rodrigo-arenas).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  3. docs/zh/llm-prompt.md

    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) If a title is present, prefer these canonical titles:
    
    - `/// tip | 提示`
    - `/// note | 注意`
    - `/// warning | 警告`
    - `/// info | 信息`
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:08 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. fastapi/exceptions.py

    class PydanticV1NotSupportedError(FastAPIError):
        """
        A pydantic.v1 model is used, which is no longer supported.
        """
    
    
    class FastAPIDeprecationWarning(UserWarning):
        """
        A custom deprecation warning as DeprecationWarning is ignored
        Ref: https://sethmlarson.dev/deprecations-via-warnings-dont-work-for-python-libraries
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. fastapi/openapi/models.py

            def validate(cls, v: Any) -> str:
                logger.warning(
                    "email-validator not installed, email fields will be treated as str.\n"
                    "To install, run: pip install email-validator"
                )
                return str(v)
    
            @classmethod
            def _validate(cls, __input_value: Any, _: Any) -> str:
                logger.warning(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_tutorial001.py

            mod.sqlite_url, connect_args={"check_same_thread": False}, poolclass=StaticPool
        )
    
        with TestClient(mod.app) as c:
            yield c
        # Clean up connection explicitly to avoid resource warning
        mod.engine.dispose()
    
    
    def test_crud_app(client: TestClient):
        # TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. pyproject.toml

        'ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated and scheduled for removal in a future version\..*:DeprecationWarning:sqlalchemy',
        # Trio 24.1.0 raises a warning from attrs
        # Ref: https://github.com/python-trio/trio/pull/3054
        # Remove once there's a new version of Trio
        'ignore:The `hash` argument is deprecated*:DeprecationWarning:trio',
    ]
    
    [tool.coverage.run]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            mod.sqlite_url, connect_args={"check_same_thread": False}, poolclass=StaticPool
        )
    
        with TestClient(mod.app) as c:
            yield c
        # Clean up connection explicitly to avoid resource warning
        mod.engine.dispose()
    
    
    def test_crud_app(client: TestClient):
        # TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. fastapi/_compat/v2.py

                # (e.g. `TypeAdapter(Annotated[int, Field(alias='b')])`). In some cases, we
                # end up building the type adapter from a model field annotation so we
                # need to ignore the warning:
                if shared.PYDANTIC_VERSION_MINOR_TUPLE >= (2, 12):
                    from pydantic.warnings import UnsupportedFieldAttributeWarning
    
                    warnings.simplefilter(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top