Skip to content

Commit

Permalink
rm
Browse files Browse the repository at this point in the history
Signed-off-by: Katrina Rogan <[email protected]>
  • Loading branch information
katrogan committed Jun 25, 2021
1 parent efd34a7 commit 1f1a783
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions flytekit/models/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,7 @@ def from_flyte_idl(cls, pb2_object):
"""
return cls(name=pb2_object.name, value=pb2_object.value)

def __init__(
self,
requests: typing.Optional[typing.List[ResourceEntry]] = None,
limits: typing.Optional[typing.List[ResourceEntry]] = None,
):
def __init__(self, requests, limits):
"""
:param list[Resources.ResourceEntry] requests: The desired resources for execution. This is given on a best
effort basis.
Expand Down

0 comments on commit 1f1a783

Please sign in to comment.