kopia lustrzana https://github.com/bugout-dev/moonstream
19 wiersze
415 B
Python
19 wiersze
415 B
Python
![]() |
import uuid
|
||
|
|
||
|
from humbug.consent import HumbugConsent
|
||
|
from humbug.report import HumbugReporter
|
||
|
|
||
![]() |
from .settings import HUMBUG_REPORTER_BACKEND_TOKEN
|
||
![]() |
|
||
|
session_id = str(uuid.uuid4())
|
||
|
client_id = "moonstream-backend"
|
||
|
|
||
|
reporter = HumbugReporter(
|
||
![]() |
name="moonstreamapi",
|
||
![]() |
consent=HumbugConsent(True),
|
||
|
client_id=client_id,
|
||
|
session_id=session_id,
|
||
![]() |
bugout_token=HUMBUG_REPORTER_BACKEND_TOKEN,
|
||
![]() |
tags=[],
|
||
|
)
|