MCPcopy
hub / github.com/ArchiveBox/ArchiveBox / printable_config

Function printable_config

archivebox/logging_util.py:589–594  ·  view source on GitHub ↗
(config: ConfigDict, prefix: str='')

Source from the content-addressed store, hash-verified

587
588@enforce_types
589def printable_config(config: ConfigDict, prefix: str='') -> str:
590 return f'\n{prefix}'.join(
591 f'{key}={val}'
592 for key, val in config.items()
593 if not (isinstance(val, dict) or callable(val))
594 )
595
596
597@enforce_types

Callers 1

configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected