Guest User

Untitled

a guest
Jul 23rd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. def output(self):
  2. - return luigi.LocalTarget(
  3. - path='./data/predictions/{:%Y-%m-%d}_{}.csv'
  4. + return S3Target(
  5. + path='s3://your-bucket/data/predictions/{:%Y-%m-%d}_{}.csv'
  6. .format(self.date, self.model_name)
  7. )
Add Comment
Please, Sign In to add comment