genesis/data.py
def _flatten_field(self, field, schema, path):
        """Reduce dicts of dicts to dot separated keys."""
        flat = {}
        for field_schema, fields, path in iterate_schema(field, schema, path):
            name = field_schema['name']
            typ = field_schema['type']
            label = field_schema['label']
            value = fields[name] if name in fields else None
            flat[path] = {'name': name, 'value': value, 'type': typ, 'label': label}

        return flat
def _flatten_field(self, field, schema, path):
        """Reduce dicts of dicts to dot separated keys."""
        flat = {}
        for field_schema, fields, path in iterate_schema(field, schema, path):
            name = field_schema['name']
            typ = field_schema['type']
            label = field_schema['label']
            value = fields[name] if name in fields else None
            flat[path] = {'name': name, 'value': value, 'type': typ, 'label': label}

        return flat
Reduce dicts of dicts to dot separated keys.