Skip to content

Commit 77d94fb

Browse files
author
Terence
committed
Fix feature_set_describe cli
1 parent 615423a commit 77d94fb

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

sdk/python/feast/cli.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,20 @@ def feature_set_create(filename):
156156

157157
@feature_set.command("describe")
158158
@click.argument("name", type=click.STRING)
159-
def feature_set_describe(name: str):
159+
@click.option(
160+
"--project",
161+
"-p",
162+
help="Project that feature set belongs to",
163+
type=click.STRING,
164+
default="default",
165+
)
166+
def feature_set_describe(name: str, project: str):
160167
"""
161168
Describe a feature set
162169
"""
163170
feast_client = Client() # type: Client
164-
fs = feast_client.get_feature_set(name=name)
171+
fs = feast_client.get_feature_set(name=name, project=project)
172+
165173
if not fs:
166174
print(f'Feature set with name "{name}" could not be found')
167175
return

0 commit comments

Comments
 (0)