code: def packages(self):
          
          if self._package_manager is None:
              self._package_manager = PackageManager(session=self._session)
          return self._package_manager
docs: Property for accessing :class:`PackageManager` instance, which is used to manage packages.
  
          :rtype: yagocd.resources.package.PackageManager