There was an error while loading. Please reload this page.
1 parent c8cc58b commit 21d62d6Copy full SHA for 21d62d6
1 file changed
sdk/python/feast/cli.py
@@ -156,12 +156,20 @@ def feature_set_create(filename):
156
157
@feature_set.command("describe")
158
@click.argument("name", type=click.STRING)
159
-def feature_set_describe(name: str):
+@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):
167
"""
168
Describe a feature set
169
170
feast_client = Client() # type: Client
- fs = feast_client.get_feature_set(name=name)
171
+ fs = feast_client.get_feature_set(name=name, project=project)
172
+
173
if not fs:
174
print(f'Feature set with name "{name}" could not be found')
175
return
0 commit comments