async def send_script_message(self, message, context):
        """Handle a send_script message.

        See :meth:`AbstractDeviceAdapter.send_script`.
        """

        script = message.get('script')
        conn_string = message.get('connection_string')
        client_id = context.user_data

        if message.get('fragment_count') != 1:
            raise DeviceServerError(client_id, conn_string, 'send_script', 'fragmented scripts are not yet supported')

        await self.send_script(client_id, conn_string, script)
async def send_script_message ( self , message , context ) : script = message . get ( 'script' ) conn_string = message . get ( 'connection_string' ) client_id = context . user_data if message . get ( 'fragment_count' ) != 1 : raise DeviceServerError ( client_id , conn_string , 'send_script' , 'fragmented scripts are not yet supported' ) await self . send_script ( client_id , conn_string , script )
Handle a send_script message.

        See :meth:`AbstractDeviceAdapter.send_script`.