Skip to content

Commit

Permalink
docs: add docstring parameter for parser class
Browse files Browse the repository at this point in the history
  • Loading branch information
rmfranken committed Nov 20, 2024
1 parent d3eb1f4 commit b81b5b6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gimie/parsers/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@


class Parser(ABC):
"""Parser is an Abstract Base Class. It is only meant
"""
Parser is an Abstract Base Class. It is only meant
to define a standard interface for all parsers.
All subclasses must implement parse(). A parser parses
bytes data into a set of predicate-object tuples.
Parameters
----------
subject : str
The subject of a triple (subject - predicate - object) to be used for writing parsed properties to.
"""

def __init__(self, subject: str):
Expand Down

0 comments on commit b81b5b6

Please sign in to comment.