Skip to content

Commit

Permalink
Added new field to ActionPayload class
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeusina committed Aug 19, 2023
1 parent 8ec922a commit 607c783
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion petersbugredu_wrap/types/action_payload.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
class ActionPayload:
def __init__(self, can_apply_for_distance: bool, can_print=None):
def __init__(self, can_apply_for_distance: bool = True, can_print=None, can_add_homework: bool = True):
"""
Class represents action payload API class
:param can_apply_for_distance:
:param can_print:
"""
self.can_apply_for_distance = can_apply_for_distance
self.can_print = can_print
self.can_add_homework = can_add_homework

0 comments on commit 607c783

Please sign in to comment.