Skip to content

Commit 5e753e4

Browse files
authored
refactor: Introduced base class FeastError for all Feast exceptions (#4465)
introduced base class FeastError for all Feast exceptions, with initial methods to map the grpc and HTTP status code Signed-off-by: Daniele Martinoli <dmartino@redhat.com>
1 parent 635a01b commit 5e753e4

File tree

6 files changed

+96
-64
lines changed

6 files changed

+96
-64
lines changed

sdk/python/feast/cli_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def handler_list_all_permissions_roles_verbose(
279279
for o in objects:
280280
permitted_actions = ALL_ACTIONS.copy()
281281
for action in ALL_ACTIONS:
282-
# Following code is derived from enforcer.enforce_policy but has a different return type and does not raise PermissionError
282+
# Following code is derived from enforcer.enforce_policy but has a different return type and does not raise FeastPermissionError
283283
matching_permissions = [
284284
p
285285
for p in permissions

0 commit comments

Comments
 (0)