(self)
return [s for s in self.opt
                if s not in self.optional_sections and
                   s not in self.excluded_sections]
Get mandatory sections
Get mandatory sections
Get mandatory sections
def get_mandatory_sections(self):
        """Get mandatory sections"""
        return [s for s in self.opt
                if s not in self.optional_sections and
                   s not in self.excluded_sections]
def get_mandatory_sections ( self ) : return [ s for s in self . opt if s not in self . optional_sections and s not in self . excluded_sections ]