code: def _cache_key(cmd_id):
          
          return '{}__{}__{}__{}'.format(
              cmd_id.generationTime, cmd_id.origin, cmd_id.sequenceNumber,
              cmd_id.commandName)
docs: commandId is a tuple. Make a 'unique' key for it.