Skip to content

Commit

Permalink
added help for download file
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Jun 7, 2023
1 parent b04fbf2 commit 240190a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cm-mlops/script/download-file/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ def preprocess(i):

env = i['env']

if env.get('CM_DOWNLOAD_URL','')=='':
return {'return':1, 'error': 'please specify URL using --url={URL} or --env.CM_DOWNLOAD_URL={URL}'}


meta = i['meta']

automation = i['automation']
Expand Down

0 comments on commit 240190a

Please sign in to comment.