code: def get_version():
      
      txt = (WORK_DIR / 'aiogram' / '__init__.py').read_text('utf-8')
      try:
          return re.findall(r"^__version__ = '([^']+)'\r?$", txt, re.M)[0]
      except IndexError:
          raise RuntimeError('Unable to determine version.')
docs: Read version
  
      :return: str