Using Reflex in-code is easy with Python, using the rfx.client.Session() class:
import rfx.client
rcs = rfx.client.Session().cfg_load()
cfg = rcs.get("config", "tardis")The Session object uses your environment or reflex configuration for:
REFLEX_URL
REFLEX_APIKEYMethods:
.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)
-
› Roadmap