Skip to content

Commit

Permalink
optional get_task_id()
Browse files Browse the repository at this point in the history
  • Loading branch information
gasse committed Nov 27, 2024
1 parent 9e1aa6a commit 0defaf1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions browsergym/core/src/browsergym/core/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ class AbstractBrowserTask(ABC):
"""

@classmethod
@abstractmethod
def get_task_id(cls):
pass
raise NotImplementedError

def __init__(self, seed: int) -> None:
# initiate a random number generator
Expand Down

0 comments on commit 0defaf1

Please sign in to comment.