Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for issubclass (0.08 seconds)

  1. RELEASE.md

            please use `optimizer._learning_rate`.
        *   **You implemented a custom optimizer based on the old optimizer.**
            Please set your optimizer to subclass
            `tf.keras.optimizer.legacy.XXX`. If you want to migrate to the new
            optimizer and find it does not support your optimizer, please file
            an issue in the Keras GitHub repo.
    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