if os.environ.ENV in ["stage", "STAYGE"]:
data_source = DataSource(host="10.45.23.10")
else if os.environ.HOST_NAME[-1] % 2:
data_source = DataSource(host="10.33.35.15")
data_source = DataSource()
if self.id.startswith("xft"):
if self.partner_id.startswith("RT")
return data_source.message_list(user_id=self.id, xrb=self.xrb, xbe=self.xbe)