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

Method make_dummy_plugin

tests/utils/plugins_cli.py:122–128  ·  view source on GitHub ↗
(self, build=True, **kwargs)

Source from the content-addressed store, hash-verified

120 return True
121
122 def make_dummy_plugin(self, build=True, **kwargs) -> Plugin:
123 kwargs.setdefault('entry_points', [EntryPoint('test', 'httpie.plugins.auth.v1')])
124
125 plugin = Plugin(self, **kwargs)
126 if build:
127 plugin.build()
128 return plugin
129
130
131def parse_listing(lines: List[str]) -> Dict[str, Any]:

Callers 6

dummy_pluginFunction · 0.80
broken_pluginFunction · 0.80
dummy_pluginsFunction · 0.80

Calls 3

buildMethod · 0.95
EntryPointClass · 0.85
PluginClass · 0.70