Skip to content

Commit

Permalink
Minor fix: Add steps as Optional in __init__ (#2086)
Browse files Browse the repository at this point in the history
Signed-off-by: Geetika Kapoor <gkapoor@redhat.com>
  • Loading branch information
geetikakay authored Aug 31, 2024
1 parent bb834ca commit 6378c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocp_resources/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Task(NamespacedResource):

def __init__(
self,
steps: List[Dict[str, Any]],
steps: Optional[List[Dict[str, Any]]] = None,
description: Optional[str] = None,
params: Optional[List[Dict[str, str]]] = None,
workspaces: Optional[List[Dict[str, Any]]] = None,
Expand Down

0 comments on commit 6378c75

Please sign in to comment.