File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 5656from ..components .switch import Switch # noqa: F401
5757from ..services .discovery import Discovery # noqa: F401
5858from ..services .generic import Generic as GenericService # noqa: F401
59- from ..services .mlmodel import MLModel # noqa: F401
6059from ..services .motion import Motion # noqa: F401
6160from ..services .navigation import Navigation # noqa: F401
6261from ..services .slam import SLAM # noqa: F401
6362from ..services .vision import Vision # noqa: F401
6463
64+ try :
65+ from ..services .mlmodel import MLModel # noqa: F401
66+ except ImportError :
67+ pass
68+
6569from .service import ModuleRPCService
6670from .types import Reconfigurable , Stoppable
6771
@@ -73,7 +77,7 @@ def _parse_module_args() -> argparse.Namespace:
7377 p = argparse .ArgumentParser (description = "Start this viam python module" )
7478 p .add_argument ("socket_path" , help = "path where this module will serve a unix socket" )
7579 p .add_argument ("--log-level" , type = lambda name : pylogging ._nameToLevel [name .upper ()], default = logging .INFO )
76- p .add_argument ("--tcp-mode" , action = ' store_true' )
80+ p .add_argument ("--tcp-mode" , action = " store_true" )
7781 return p .parse_known_args ()[0 ]
7882
7983
You can’t perform that action at this time.
0 commit comments