def from_raw(self, raw: RawScalar) -> Optional[bytes]:
        """Override superclass method."""
        try:
            return base64.b64decode(raw, validate=True)
        except TypeError:
            return None
def from_raw ( self , raw : RawScalar ) -> Optional [ bytes ] : try : return base64 . b64decode ( raw , validate = True ) except TypeError : return None
Override superclass method.