Using Reflex in-code is easy with Python, using the rfx.client.Session() class:
The Session object uses your environment or reflex configuration for:
Methods:
.get(object_type, object_name)
.list(object_type, [match=GLOB-PATTERN, cols=["cols","to","include"], raise_error=True|False])
.create(object_type, object_data)
— “name” must be in object_data.update(object_type, object_name, object_data)
— object_name already exists, object_data is a complete replacement.patch(object_type, object_name, object_data)
— object_name already exists, object_data is a delta of changes.delete(object_type, object_name)
-
›