Skip to content

Commit

Permalink
Update ops/framework.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer authored Mar 14, 2024
1 parent 44bda6f commit 1c47a49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ops/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,6 @@ class SomeObject:

# Validate that the method has an acceptable call signature.
sig = inspect.signature(observer, follow_wrapped=False)
# Self isn't included in the params list, so the first arg will be the event.
try:
sig.bind(EventBase(None)) # type: ignore
except TypeError as e:
Expand Down

0 comments on commit 1c47a49

Please sign in to comment.