Visitar URL original
feat: Improved CLI file structuring (#5201) · jfw-ppi/feast@4301f19 · GitHub
Skip to content

Commit 4301f19

Browse files
ntkatholejfw-ppi
authored andcommitted
feat: Improved CLI file structuring (feast-dev#5201)
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> Signed-off-by: Jacob Weinhold <29459386+j-wine@users.noreply.github.com>
1 parent 7e45927 commit 4301f19

23 files changed

Lines changed: 1791 additions & 1658 deletions

‎.github/workflows/smoke_tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
uv pip sync --system sdk/python/requirements/py${{ matrix.python-version }}-requirements.txt
4343
uv pip install --system --no-deps .
4444
- name: Test Imports
45-
run: python -c "from feast import cli"
45+
run: python -c "from feast.cli import cli"

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Homepage = "https://github.com/feast-dev/feast"
164164
name = "Feast"
165165

166166
[project.scripts]
167-
feast = "feast.cli:cli"
167+
feast = "feast.cli.cli:cli"
168168

169169
[build-system]
170170
requires = [

‎sdk/python/docs/source/conf.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import os
2020
import sys
2121

22-
import sphinx_rtd_theme
23-
2422
sys.path.insert(0, os.path.abspath("../../feast"))
2523
sys.path.insert(0, os.path.abspath("../.."))
2624

@@ -32,7 +30,6 @@
3230
# example where the Python protos did not build, which subsequently broke
3331
# the RTD build. In order to fix this, we manually compile the protos.
3432
import subprocess
35-
3633
from pathlib import Path
3734

3835
# cwd will be feast/sdk/python/docs/source

0 commit comments

Comments
 (0)