def get_path(*args):
 url = '/api/v1/events'
 if args:
  url += ('/' + '/'.join(map(str, args)))
 return url

def get_path ( * args ) : url = '/api/v1/events' if args : url += ( '/' + '/' . join ( map ( str , args ) ) ) return url
return a path corresponding to the scheme .