in lambda/lambda-mf-csv-generator/account.py [0:0]
def getLine(i):
x = random.randint(1,2)
x = x*10
y = x+50
account_id = i
daysago = random.randint(30,720)
branch_id = random.randint(1,500)
frequency = random.choice(['MI','WI','TI'])
now = datetime.now() + timedelta(days=-daysago)
str_now = now.isoformat()
date_of_creation = str_now
line = '%s,%s,%s,%s' % (account_id, branch_id, frequency, date_of_creation)
return line