Skip to content

Commit 8d3602f

Browse files
authored
fix!: make context not required (#563)
1 parent 9db0c5c commit 8d3602f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/api/gateway.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def __contextualize(self, data: dict) -> object:
399399
return context(**data)
400400

401401
def __sub_command_context(
402-
self, data: Union[dict, Option], context: object
402+
self, data: Union[dict, Option], context: object = MISSING
403403
) -> Union[Tuple[str], dict]:
404404
"""
405405
Checks if an application command schema has sub commands

0 commit comments

Comments
 (0)