code: def _gen_cmd_msg(msg_type, ctx):
      return b" ".join([msg_type, _encode_cmd_id(ctx.id)])
  
file_path: guildai/guild/cmd_notify.py
imports: import logging
  import socket
label_desc: Use image node_id 3 for calling a global function with example usage: _gen_cmd_msg(msg_type, ctx) and returns: bytes