MCPcopy Index your code
hub / github.com/httpie/cli / get_plugin

Method get_plugin

tests/utils/plugins_cli.py:110–112  ·  view source on GitHub ↗
(self, target: str)

Source from the content-addressed store, hash-verified

108 environment: Environment
109
110 def get_plugin(self, target: str) -> importlib_metadata.Distribution:
111 with enable_plugins(self.environment.config.plugins_dir):
112 return importlib_metadata.distribution(target)
113
114 def is_installed(self, target: str) -> bool:
115 try:

Callers 1

is_installedMethod · 0.95

Calls 1

enable_pluginsFunction · 0.90

Tested by

no test coverage detected