We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d86fc19 commit ab7de77Copy full SHA for ab7de77
example/local_bucketing_client_example.py
@@ -21,7 +21,7 @@ def main():
21
22
# create an instance of the DevCycle Client object
23
server_sdk_key = os.environ["DEVCYCLE_SERVER_SDK_KEY"]
24
- options = DevCycleLocalOptions()
+ options = DevCycleLocalOptions(enable_beta_realtime_updates=True)
25
client = DevCycleLocalClient(server_sdk_key, options)
26
27
# Wait for DevCycle to initialize and load the configuration
@@ -69,6 +69,7 @@ def main():
69
date=datetime.datetime.now(),
70
)
71
client.track(user, event)
72
+ time.sleep(1000)
73
except Exception as e:
74
logger.exception(f"Exception when calling DevCycle API: {e}")
75
finally:
0 commit comments