Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion openhexa/cli/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,9 @@ def generate_zip_file(pipeline_directory_path: str | Path) -> io.BytesIO:
# We are in a virtual environment
excluded_paths.append(path.parent.parent) # ./<venv>/bin/python -> ./<venv>

if path.suffix not in (".py", ".ipynb", ".txt", ".md", ".R", ".r"):
if not path.suffix:
continue
if path.suffix.lower() not in (".py", ".ipynb", ".txt", ".md", ".r", ".sql"):
continue

files.append(path)
Expand Down
Loading