from handroll.composers.mixins import FrontmatterComposerMixin


class FrontmatterExtractor(FrontmatterComposerMixin):
    """Extract frontmatter from a source file."""

    def extract(self, source_file):
        data, source = self.get_data(source_file)
        return data

9d63dd860609a8f9a8aadf27e849dc0625e30ba3
<mask token>

<mask token>


class FrontmatterExtractor(FrontmatterComposerMixin):
    <mask token>
    <mask token>

<mask token>


class FrontmatterExtractor(FrontmatterComposerMixin):
    <mask token>

    def extract(self, source_file):
        data, source = self.get_data(source_file)
        return data

<mask token>


class FrontmatterExtractor(FrontmatterComposerMixin):
    """Extract frontmatter from a source file."""

    def extract(self, source_file):
        data, source = self.get_data(source_file)
        return data

from handroll.composers.mixins import FrontmatterComposerMixin


class FrontmatterExtractor(FrontmatterComposerMixin):
    """Extract frontmatter from a source file."""

    def extract(self, source_file):
        data, source = self.get_data(source_file)
        return data
