|
30 | 30 | from zmq.utils import jsonapi as json |
31 | 31 |
|
32 | 32 | from IPython.config.loader import Config |
| 33 | + |
33 | 34 | from IPython.parallel import factory |
34 | | -from IPython.parallel.controller import ControllerFactory |
35 | | -from IPython.parallel.clusterdir import ( |
| 35 | +from .clusterdir import ( |
36 | 36 | ApplicationWithClusterDir, |
37 | 37 | ClusterDirConfigLoader |
38 | 38 | ) |
39 | 39 | from IPython.parallel.util import disambiguate_ip_address, split_url |
40 | 40 | # from IPython.kernel.fcutil import FCServiceFactory, FURLError |
41 | 41 | from IPython.utils.traitlets import Instance, Unicode |
42 | 42 |
|
| 43 | +from IPython.parallel.controller.controller import ControllerFactory |
43 | 44 |
|
44 | 45 |
|
45 | 46 | #----------------------------------------------------------------------------- |
@@ -117,11 +118,11 @@ def _add_arguments(self): |
117 | 118 | ## Hub Config: |
118 | 119 | paa('--mongodb', |
119 | 120 | dest='HubFactory.db_class', action='store_const', |
120 | | - const='IPython.parallel.mongodb.MongoDB', |
| 121 | + const='IPython.parallel.controller.mongodb.MongoDB', |
121 | 122 | help='Use MongoDB for task storage [default: in-memory]') |
122 | 123 | paa('--sqlite', |
123 | 124 | dest='HubFactory.db_class', action='store_const', |
124 | | - const='IPython.parallel.sqlitedb.SQLiteDB', |
| 125 | + const='IPython.parallel.controller.sqlitedb.SQLiteDB', |
125 | 126 | help='Use SQLite3 for DB task storage [default: in-memory]') |
126 | 127 | paa('--hb', |
127 | 128 | type=int, dest='HubFactory.hb', nargs=2, |
|
0 commit comments