async def _set_base_prompt(self):
    '\n        Setting two important vars\n            base_prompt - textual prompt in CLI (usually username or hostname)\n            base_pattern - regexp for finding the end of command. IT\'s platform specific parameter\n\n        For JunOS devices base_pattern is "user(@[hostname])?[>|#]\n        '
    logger.info('Host {}: Setting base prompt'.format(self._host))
    prompt = (await self._find_prompt())
    prompt = prompt[:(- 1)]
    if ('@' in prompt):
        prompt = prompt.split('@')[1]
    self._base_prompt = prompt
    delimiters = map(re.escape, type(self)._delimiter_list)
    delimiters = '|'.join(delimiters)
    base_prompt = re.escape(self._base_prompt[:12])
    pattern = type(self)._pattern
    self._base_pattern = pattern.format(delimiters=delimiters)
    logger.debug('Host {}: Base Prompt: {}'.format(self._host, self._base_prompt))
    logger.debug('Host {}: Base Pattern: {}'.format(self._host, self._base_pattern))
    return self._base_prompt
Setting two important vars
    base_prompt - textual prompt in CLI (usually username or hostname)
    base_pattern - regexp for finding the end of command. IT's platform specific parameter

For JunOS devices base_pattern is "user(@[hostname])?[>|#]
async def _set_base_prompt(self):
    '\n        Setting two important vars\n            base_prompt - textual prompt in CLI (usually username or hostname)\n            base_pattern - regexp for finding the end of command. IT\'s platform specific parameter\n\n        For JunOS devices base_pattern is "user(@[hostname])?[>|#]\n        '
    logger.info('Host {}: Setting base prompt'.format(self._host))
    prompt = (await self._find_prompt())
    prompt = prompt[:(- 1)]
    if ('@' in prompt):
        prompt = prompt.split('@')[1]
    self._base_prompt = prompt
    delimiters = map(re.escape, type(self)._delimiter_list)
    delimiters = '|'.join(delimiters)
    base_prompt = re.escape(self._base_prompt[:12])
    pattern = type(self)._pattern
    self._base_pattern = pattern.format(delimiters=delimiters)
    logger.debug('Host {}: Base Prompt: {}'.format(self._host, self._base_prompt))
    logger.debug('Host {}: Base Pattern: {}'.format(self._host, self._base_pattern))
    return self._base_prompt