Skip to content

Commit

Permalink
chore: fix TypeError in utils
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfluegge committed Feb 4, 2024
1 parent 1137819 commit 62b3a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeqai/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_file_extension(file_name: str) -> str:
return os.path.splitext(file_name)[-1]


def get_langchain_language(language: Language) -> text_splitter.Language | None:
def get_langchain_language(language: Language):
if language == Language.PYTHON:
return text_splitter.Language.PYTHON
elif language == Language.JAVASCRIPT:
Expand Down

0 comments on commit 62b3a1f

Please sign in to comment.