-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I am attempting to use remoto to access a remote function in a module. I am attempting to get it to work via an interactive interpreter:
from remoto import connection
Connection = connection.get('ssh')
conn = Connection('nas01-internal')
conn.remote_import_system = 'json'
import nas_drive_manager
remote_nas_drive_manager = conn.import_module(nas_drive_manager)
remote_nas_drive_manager.get_drive_info('total_current_files', '/mnt/enclosure0/front/column0/drive1')
This is what it returns:
DEBUG:plot01:trying to determine remote python executable with python3
INFO:plot01:Running command: which python3
INFO:plot01:Running command: /usr/bin/python3
83
What I need is to just get the 83 - not sure if I am using it in the wrong way. The python module has no logging enabled.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels