Esempio n. 1
0
	def __init__(self):
		# Set database parameters

		self.client = settings.DB_CLIENT

		self.collection = settings.BALANCE

		self.types = settings.AVAILABLE_COIN_ID

		self.account = Account()
Esempio n. 2
0
 def initialize(self):
     self.account = Account()
Esempio n. 3
0
 def __init__(self, *args, **kwargs):
     self.client = settings.DB_CLIENT
     self.database = self.client[settings.DBNAME]
     self.collection = self.database[settings.ACCOUNTS]
     self.account = Account()