소스 검색

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
+