pyconfs/configuration.py
def as_dict(self, **other_fields: Any) -> Dict[str, Any]:
        """Convert Configuration to a nested dictionary"""
        dct_data = {**self.data, **other_fields}
        return {
            k: v.as_dict() if isinstance(v, IsConfiguration) else v
            for k, v in dct_data.items()
        }
Convert Configuration to a nested dictionary
Convert Configuration to a nested dictionary
Convert Configuration to a nested dictionary
def as_dict(self, **other_fields: Any) -> Dict[str, Any]:
        dct_data = {**self.data, **other_fields}
        return {
            k: v.as_dict() if isinstance(v, IsConfiguration) else v
            for k, v in dct_data.items()
        }
def as_dict ( self , ** other_fields : Any ) -> Dict [ str , Any ] : dct_data = { ** self . data , ** other_fields } return { k : v . as_dict ( ) if isinstance ( v , IsConfiguration ) else v for k , v in dct_data . items ( ) }
Convert Configuration to a nested dictionary
Convert Configuration to a nested dictionary
"""Convert Configuration to a nested dictionary"""
self
other_fields
Any