Skip to content

Commit 7c741fa

Browse files
committed
Fix invalid type
1 parent 6b7d01e commit 7c741fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/odin/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def extract_fields_from_dict(d: Dict[str, Any], resource) -> Dict[str, Any]:
249249
return {f.name: d[f.name] for f in field_iter(resource) if f.name in d}
250250

251251

252-
def value_in_choices(value: Any, choices: List[Tuple[0, str]]) -> bool:
252+
def value_in_choices(value: Any, choices: List[Tuple[Any, str]]) -> bool:
253253
"""Check if the value appears in the choices list (an iterable of tuples,
254254
the first value of which is the choice value).
255255

0 commit comments

Comments
 (0)