Base

reflex.base.Base

The base class subclassed by all Reflex classes.

This class wraps Pydantic and provides common methods such as serialization and setting fields.

Any data structure that needs to be transferred between the frontend and backend should subclass this class.

Methods

SignatureDescription
json(self) -> strConvert the object to a json string.
set(self, **kwargs: object)Set multiple fields and return the object.

Built with Reflex