Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for __eq__ (0.43 sec)

  1. fastapi/datastructures.py

        if the overridden default value was truthy.
        """
    
        def __init__(self, value: Any):
            self.value = value
    
        def __bool__(self) -> bool:
            return bool(self.value)
    
        def __eq__(self, o: object) -> bool:
            return isinstance(o, DefaultPlaceholder) and o.value == self.value
    
    
    DefaultType = TypeVar("DefaultType")
    
    
    def Default(value: DefaultType) -> DefaultType:
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. RELEASE.md

        previous behavior.
    
    *   Performing equality operations on Tensors or Variables with incompatible
        shapes an exception is no longer thrown. Instead `__eq__` returns False and
        `__ne__` returns True.
    
    *   Removed `tf.string_split` from v2 API.
    
    *   Deprecated the use of `constraint=` and `.constraint` with ResourceVariable.
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
Back to top