Skip to content

Commit ab7de77

Browse files
committed
Fix callable args
1 parent d86fc19 commit ab7de77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/local_bucketing_client_example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def main():
2121

2222
# create an instance of the DevCycle Client object
2323
server_sdk_key = os.environ["DEVCYCLE_SERVER_SDK_KEY"]
24-
options = DevCycleLocalOptions()
24+
options = DevCycleLocalOptions(enable_beta_realtime_updates=True)
2525
client = DevCycleLocalClient(server_sdk_key, options)
2626

2727
# Wait for DevCycle to initialize and load the configuration
@@ -69,6 +69,7 @@ def main():
6969
date=datetime.datetime.now(),
7070
)
7171
client.track(user, event)
72+
time.sleep(1000)
7273
except Exception as e:
7374
logger.exception(f"Exception when calling DevCycle API: {e}")
7475
finally:

0 commit comments

Comments
 (0)