def get_default(self) -> Any:
        """Get the default value (for Pydantic compatibility).

        Returns:
            The default value for the field, or None if required.
        """
        try:
            return self.default_value()
        except ValueError:
            # Field is required (no default)
            return None
Get the default value (for Pydantic compatibility).

        Returns:
            The default value for the field, or None if required.
        
reflex/components/props.py