Skip to content

Commit

Permalink
Pass project from context to get entities (#1137)
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Moskalenko <[email protected]>
  • Loading branch information
pyalex authored Nov 5, 2020
1 parent 9285bd8 commit 60f24c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/pyspark/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def _feature_table_to_argument(
"project": project,
"name": feature_table.name,
"entities": [
{"name": n, "type": client.get_entity(n).value_type}
{"name": n, "type": client.get_entity(n, project=project).value_type}
for n in feature_table.entities
],
"max_age": feature_table.max_age.ToSeconds() if feature_table.max_age else None,
Expand Down

0 comments on commit 60f24c8

Please sign in to comment.