Skip to content

Commit 6309070

Browse files
comments cleanup
1 parent 902f5ff commit 6309070

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/dbally/context/_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ class is returned.
3030
if name_ in hidden_args:
3131
continue
3232

33-
# TODO make ExposedFunction preserve information whether the context was available for a certain argument
34-
3533
if isclass(type_) and issubclass(type_, BaseCallerContext):
3634
# this is the case when user provides a context but no other type hint for a specifc arg
37-
# TODO confirm whether this case should be supported
3835
context = type_
3936
type_ = Any
4037
elif type_ext.get_origin(type_) is Union:

src/dbally/iql_generator/iql_prompt_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ def _validate_iql_response(llm_response: str) -> str:
6868
"This is CRUCIAL, otherwise the system will crash. ",
6969
},
7070
{"role": "user", "content": "{question}"},
71-
), # type: ignore # TODO fix it
71+
),
7272
llm_response_parser=_validate_iql_response,
7373
)

0 commit comments

Comments
 (0)