Skip to content

Commit

Permalink
Fix: Unbound decorator assertion fires in main deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes-ucsc committed Jan 21, 2025
1 parent cdc508d commit f495a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/azul/chalice.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def bind(self, app: Chalice, handler_name: str | None = None) -> Self:

@property
def tf_function_resource_name(self) -> str:
assert self.handler_name is not None, 'Unbound decorator'
assert self.app_name is not None, 'Unbound decorator'
if self.handler_name is None:
return self.app_name
else:
Expand Down

0 comments on commit f495a1e

Please sign in to comment.