Skip to content

Commit 7acfa05

Browse files
committed
Fix fake error and add new one
1 parent 3600af3 commit 7acfa05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/data_structures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __str__(self):
2525
return self.method_name
2626

2727
def __hash__(self):
28-
return "2"
28+
return hash((self.class_name, self.method_name))
2929

3030

3131
class FunctionCallIntent:
@@ -51,7 +51,7 @@ def __init__(
5151
)
5252

5353
def __str__(self):
54-
return f"Call function `{self.func_name}` with arguments {self.arg_values}."
54+
return 2
5555

5656
def to_dict(self):
5757
return {"func_name": self.func_name, "arguments": self.arg_values}

0 commit comments

Comments
 (0)