Skip to content

Commit c6ca3a1

Browse files
committed
Fix unexpected error in the literalstring challenge, fixes #81
1 parent 59d0cb4 commit c6ca3a1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

challenges/intermediate-literalstring/question.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
44
You're writing a web backend.
55
Annotate a function `execute_query` which runs SQL, but also can prevent SQL injection attacks.
6+
7+
NOTE: You don't need to implement `execute_query`
68
"""
79

810
from typing import Iterable
911

1012

1113
def execute_query(sql, parameters: Iterable[str] = ...):
12-
"""No need to implement it"""
14+
...
1315

1416

1517
## End of your code ##

challenges/intermediate-literalstring/solution.py

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
44
You're writing a web backend.
55
Annotate a function `execute_query` which runs SQL, but also can prevent SQL injection attacks.
6+
7+
NOTE: You don't need to implement `execute_query`
68
"""
79

810
from typing import LiteralString, Iterable

0 commit comments

Comments
 (0)