idasen_controller/main.py
async def run_forwarded_command(client, config, reader, writer):
    """Run commands received by the tcp server"""
    print("Received command")
    request = (await reader.read()).decode('utf8')
    forwarded_config = json.loads(str(request))
    merged_config = {**config, **forwarded_config}
    await run_command(client, merged_config)
    writer.close()
Run commands received by the tcp server
Run commands received by the tcp server
Run commands received by the tcp server
async def run_forwarded_command(client, config, reader, writer):
    print("Received command")
    request = (await reader.read()).decode('utf8')
    forwarded_config = json.loads(str(request))
    merged_config = {**config, **forwarded_config}
    await run_command(client, merged_config)
    writer.close()
async def run_forwarded_command ( client , config , reader , writer ) : print ( "Received command" ) request = ( await reader . read ( ) ) . decode ( 'utf8' ) forwarded_config = json . loads ( str ( request ) ) merged_config = { ** config , ** forwarded_config } await run_command ( client , merged_config ) writer . close ( )
Run commands received by the tcp server
Run commands received by the tcp server
"""Run commands received by the tcp server"""
client
config
reader
writer