def fake_payment_instruction(db, participant, team):
 start_date = max(participant.claimed_time, team.ctime)
 ctime = faker.date_time_between(start_date)
 return insert_fake_data(db, 'payment_instructions', ctime=ctime, mtime=faker.date_time_between(ctime), participant_id=participant.id, team_id=team.id, amount=fake_tip_amount())

def fake_payment_instruction ( db , participant , team ) : start_date = max ( participant . claimed_time , team . ctime ) ctime = faker . date_time_between ( start_date ) return insert_fake_data ( db , 'payment_instructions' , ctime = ctime , mtime = faker . date_time_between ( ctime ) , participant_id = participant . id , team_id = team . id , amount = fake_tip_amount ( ) )
create a fake payment_instruction .