Преглед изворни кода

org_reader: Cls org_reader, add method to extract metadatas

Empty method for now, just declaration
Gendre Sébastien пре 7 година
родитељ
комит
a38af77e8a
1 измењених фајлова са 11 додато и 0 уклоњено
  1. 11 0
      org_reader/org_reader.py

+ 11 - 0
org_reader/org_reader.py

@@ -38,3 +38,14 @@ class OrgReader(BaseReader):
         ]
         """
         pass
+
+    def _parse_metadata(self, text_lines):
+        """
+        From a given Org text, return the metadatas 
+        Keyword Arguments:
+        text_lines -- A list, each item is a line of the texte
+        Return:
+        A dict containing metadatas
+        """
+        pass
+