def upload_next_network(next_model, data, args=None):
    ' Upload the specified network to google storage. '
    blob = bucket.blob('networks/{}.json'.format(next_model))
    blob.metadata = {'args': json.dumps(args, sort_keys=True), 'rev': getenv('GIT_REV')}
    blob.upload_from_string(data, 'application/json')
Upload the specified network to google storage.
def upload_next_network(next_model, data, args=None):
    '  '
    blob = bucket.blob('networks/{}.json'.format(next_model))
    blob.metadata = {'args': json.dumps(args, sort_keys=True), 'rev': getenv('GIT_REV')}
    blob.upload_from_string(data, 'application/json')