Example #1
0
 def scheduler(self):
     url = ParseResult(
         scheme='http+unix',
         netloc=urlquote(self.unix_socket, safe=''),
         path='',
         params='',
         query='',
         fragment='',
     ).geturl()
     return luigi.rpc.RemoteScheduler(url)
Example #2
0
 def scheduler(self):
     url = ParseResult(
         scheme='http+unix',
         netloc=urlquote(self.unix_socket, safe=''),
         path='',
         params='',
         query='',
         fragment='',
     ).geturl()
     return luigi.rpc.RemoteScheduler(url)