✨ Announcing our seed funding led by Lux Capital! Read more about it on our blog
DocsBlogChangelog

Search documentation...

/

Star

12k+

[ Learn ]

[ Concepts ]

[ Reference ]

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.

Class Fields


FieldDescription

Fields


FieldDescription

Methods


SignatureDescription
Config()Pydantic config.
json(self) -> 'str'Convert the object to a json string.
set(self, **kwargs)Set multiple fields and return the object.
get_value(self, key: 'str') -> 'Any'Get the value of a field.
← AppComponent →

Copyright © 2023 Pynecone, Inc.