MCPcopy
hub / github.com/hacs/integration / remove

Method remove

custom_components/hacs/repositories/base.py:752–756  ·  view source on GitHub ↗

Run remove tasks.

(self)

Source from the content-addressed store, hash-verified

750 return await self.get_documentation(filename=info_files[0], version=version) or ""
751
752 def remove(self) -> None:
753 """Run remove tasks."""
754 if self.hacs.repositories.is_registered(repository_id=str(self.data.id)):
755 self.logger.info("%s Starting removal", self.string)
756 self.hacs.repositories.unregister(self)
757
758 async def uninstall(self) -> None:
759 """Run uninstall tasks."""

Callers 11

unregisterMethod · 0.80
_write_fileMethod · 0.80
executeMethod · 0.80
createMethod · 0.80
restoreMethod · 0.80
hacs_repositories_addFunction · 0.80
hacs_repositories_removeFunction · 0.80
choose_repositoryFunction · 0.80
clear_instanceFunction · 0.80

Calls 2

is_registeredMethod · 0.80
unregisterMethod · 0.80

Tested by

no test coverage detected