Skip to content

Commit

Permalink
Revert "Add cog import alias to test predictors"
Browse files Browse the repository at this point in the history
This reverts commit 9dfa233.
  • Loading branch information
nevillelyh committed Nov 28, 2024
1 parent a3f84f9 commit cf796ca
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions python/tests/runners/__init__.py

This file was deleted.

4 changes: 0 additions & 4 deletions python/tests/schemas/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion script/schemas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ cd "$schemas_dir"

trap "rm -f predict.py" EXIT
for f in *.py; do
[ "$f" != __init__.py ] || continue
echo "Generating schema for $(basename "$f")"
cp "$f" predict.py
uv run --python "$python_version" --with cog python3 -m cog.command.openapi_schema > "$(basename "$f" .py).json"
Expand Down

0 comments on commit cf796ca

Please sign in to comment.