def run_kernel():
     imported_objects = import_objects(options, self.style)
     kwargs = dict(argv=[], user_ns=imported_objects)
     connection_file = options.get("connection_file")
     if connection_file:
         kwargs["connection_file"] = connection_file
     start_kernel(**kwargs)
示例#2
0
 def run_kernel():
     imported_objects = self.get_imported_objects(options)
     kwargs = dict(
         argv=[],
         user_ns=imported_objects,
     )
     connection_file = options.get('connection_file')
     if connection_file:
         kwargs['connection_file'] = connection_file
     start_kernel(**kwargs)
示例#3
0
 def run_kernel():
     imported_objects = self.get_imported_objects(options)
     kwargs = dict(
         argv=[],
         user_ns=imported_objects,
     )
     connection_file = options.get('connection_file')
     if connection_file:
         kwargs['connection_file'] = connection_file
     start_kernel(**kwargs)
示例#4
0
 def run_kernel():
     imported_objects = import_objects(options, self.style)
     if options.get('connection_file'):
         start_kernel(argv=[], user_ns=imported_objects, connection_file=options.get('connection_file'))
     else:
         start_kernel(argv=[], user_ns=imported_objects)