MCPcopy Index your code
hub / github.com/pex-tool/pex / HtmlDocsConfig

Class HtmlDocsConfig

pex/docs/command.py:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45@attr.s(frozen=True)
46class HtmlDocsConfig(object):
47 @classmethod
48 def from_options(
49 cls,
50 options, # type: Namespace
51 fallback_url=None, # type: Optional[str]
52 ):
53 # type: (...) -> HtmlDocsConfig
54 return cls(browser=options.browser, fallback_url=fallback_url)
55
56 browser = attr.ib(default=None) # type: Optional[str]
57 fallback_url = attr.ib(default=None) # type: Optional[str]
58
59
60# PEX in ascii-hex rotated left 1 character and trailing 0 dropped:

Callers 1

serve_html_docsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected