Skip to content

Commit 9331f70

Browse files
committed
Added missing type information for documentation
1 parent 9f661d4 commit 9331f70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vulcan_core/conditions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def __init__(self):
212212
super().__init__()
213213
self.found_lookups: dict[str, Similarity] = {}
214214

215-
def get_field(self, field_name, args, kwargs):
215+
def get_field(self, field_name, args, kwargs) -> tuple[str, str]:
216216
"""
217217
Resolves field references with special handling for Similarity objects.
218218
@@ -225,7 +225,7 @@ def get_field(self, field_name, args, kwargs):
225225
kwargs (dict): Keyword arguments for the formatter
226226
227227
Returns:
228-
tuple[str | Any, str]: (resolved_value_or_placeholder, root_field_name)
228+
tuple[Any, str]: (resolved_value_or_placeholder, root_field_name)
229229
"""
230230
first, rest = _string.formatter_field_name_split(field_name)
231231
obj = self.get_value(first, args, kwargs)

0 commit comments

Comments
 (0)