code: def name(self) -> str:
          
          if self.import_name == '__main__':
              path = Path(getattr(sys.modules['__main__'], '__file__', '__main__.py'))
              return path.stem
          return self.import_name
docs: The name of this application.
  
          This is taken from the :attr:`import_name` and is used for
          debugging purposes.