wallet/wallet/broker_rpc.py
2024-07-02 12:45:59 +03:30

8 lines
187 B
Python

#!/usr/bin/env python
import os
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'wallet.settings')
from utils.broker import get_rpc_broker_consumer
channel = get_rpc_broker_consumer()