FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: Create __init__ files for the proto-generated python dirs by achals · Pull Request #2410 · feast-dev/feast · GitHub

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
remove dupe import
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Mar 15, 2022
commit 507cf5a4d60f6001c29486f794f6e10bcf8df138
4 changes: 1 addition & 3 deletions sdk/python/setup.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,9 @@ def _generate_python_protos(self, path: str):
self.python_folder,
]
+ proto_files,
)
)

def run(self):
from pathlib import Path

for sub_folder in self.sub_folders:
self._generate_python_protos(f"feast/{sub_folder}/*.proto")
# We need the __init__ files for each of the generated subdirs
Expand Down

Back | FazBrowse Home | New Git URL