def get(self, key: Var | Any, default: Var | Any | None = None) -> Var:
        """Get an item from the object.

        Args:
            key: The key to get from the object.
            default: The default value if the key is not found.

        Returns:
            The item from the object.
        """
        from reflex.components.core.cond import cond

        if default is None:
            default = Var.create(None)

        value = self.__getitem__(key)  # pyright: ignore[reportUnknownVariableType,reportAttributeAccessIssue,reportUnknownMemberType]

        return cond(  # pyright: ignore[reportUnknownVariableType]
            value,
            value,
            default,
        )
Get an item from the object.

        Args:
            key: The key to get from the object.
            default: The default value if the key is not found.

        Returns:
            The item from the object.
        
reflex/vars/object.py