We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53ada5a commit 1372c7bCopy full SHA for 1372c7b
codetide/parsers/generic_parser.py
@@ -55,7 +55,7 @@ async def parse_file(self, file_path: Union[str, Path], root_path: Optional[Unio
55
56
return codeFile
57
58
- def parse_code(self, file_path :Path, code :str):
+ def parse_code(self, file_path :Path, code :Optional[str]=None):
59
codeFile = CodeFileModel(
60
file_path=str(file_path),
61
raw=code if not isinstance(code, bytes) else DEFAULT_BYTES_CONTENT_PLACEHOLDERS
0 commit comments