Repository URL to install this package:
|
Version:
0.5.11.dev1+gbb3d976ac ▾
|
# -*- coding: utf-8 -*-
from typing import Any, Mapping
def module_config_is_empty(config: Mapping[str, Any]):
c = dict(config)
d = c.pop("defaults", None)
if d:
return False
constants = c.pop("constants", None)
if constants:
return False
return False if c else True