Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for subclasses (0.09 seconds)

  1. RELEASE.md

            will no longer uprank input data of shape `(batch_size,)` to become
            `(batch_size, 1)`. This enables `Model` subclasses to process scalar
            data in their `train_step()`/`test_step()`/`predict_step()` methods. \
            Note that this change may break certain subclassed models. You can
            revert back to the previous behavior by adding upranking yourself in the
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  2. docs/en/docs/release-notes.md

    avoids/fixes a potential security issue: as the returned object is passed directly to Pydantic, if the returned object was a subclass of the `response_model` (e.g. you return a `UserInDB` that inherits from `User` but contains extra fields, like `hashed_password`, and `User` is used in the `response_model`), it would still pass the validation (because `UserInDB` is a subclass of `User`) and the object would be returned as-is, including the `hashed_password`. To fix this, the declared `response_model`...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top