MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / get_all_output_formats

Method get_all_output_formats

aura/output/base.py:37–45  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

35
36 @classmethod
37 def get_all_output_formats(cls) -> Mapping[str, OutputBase]:
38 handlers = OUTPUT_HANDLER_CACHE.setdefault(cls.entrypoint(), {})
39
40 if not handlers:
41 for x in pkg_resources.iter_entry_points(cls.entrypoint()):
42 handler = x.load()
43 handlers[x.name] = handler
44
45 return handlers
46
47 @classmethod
48 def get_format(cls, uri: str, parsed=None) -> OutputBase:

Callers 1

get_formatMethod · 0.80

Calls 1

entrypointMethod · 0.45

Tested by

no test coverage detected