Initial MVP for QA asset backend
This commit is contained in:
6
hy_qa_asset_backend/backend/app/utils/text_reader.py
Normal file
6
hy_qa_asset_backend/backend/app/utils/text_reader.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def read_text_file(path: str | Path) -> str:
|
||||
return Path(path).read_text(encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user