queues #13

Merged
emmatveev merged 2 commits from queues into dev 2024-11-24 23:56:00 +03:00
Showing only changes of commit 2425ee2988 - Show all commits

View File

@ -1,4 +1,5 @@
import json
import os
import typing
import urllib.parse
from threading import Thread
@ -112,3 +113,13 @@ class PlatformClient:
def get_experiment(self, name):
return self.experiment_storage[name]
platform = PlatformClient(
os.getenv('PLATFORM_SECURITY_TOKEN'),
'РУЗ Бот',
os.getenv('STAGE'),
['words'],
['alice'],
need_poll=True,
)