diff --git a/render_engine_parser/base_parsers.py b/render_engine_parser/base_parsers.py index 9b402cb..8cc3895 100644 --- a/render_engine_parser/base_parsers.py +++ b/render_engine_parser/base_parsers.py @@ -64,12 +64,9 @@ def parse( return content @staticmethod - def create_entry(*, filepath: pathlib.Path | None, content: str = "Hello World", **kwargs) -> str: + def create_entry(*, content: str = "Hello World", **kwargs) -> str: """ Writes the content type that would be parsed to the content_path. - - attrs: - filepath: Only used if reading from an existing path """ post = frontmatter.Post(content) diff --git a/tests/test_base_parser.py b/tests/test_base_parser.py index d7a4f5f..1b13c33 100644 --- a/tests/test_base_parser.py +++ b/tests/test_base_parser.py @@ -57,7 +57,6 @@ def test_base_parser_parse_content_path(base_content_path): def test_base_parser_net_entry(): data = BasePageParser.create_entry( - filepath=None, # reminder this is ignored in the base case content="This is a Test", title="Untitled Entry", slug="untitled-entry",