♻️ Refactor type generation of selects re-order to prioritize models to optimize editor support (#718)

This commit is contained in:
Sebastián Ramírez
2023-12-04 10:46:59 +01:00
committed by GitHub
parent e5fddb97a7
commit 853d787923
3 changed files with 176 additions and 176 deletions

View File

@ -24,7 +24,7 @@ arg_groups: List[Arg] = []
signatures: List[Tuple[List[Arg], List[str]]] = []
for total_args in range(2, number_of_types + 1):
arg_types_tuples = product(["scalar", "model"], repeat=total_args)
arg_types_tuples = product(["model", "scalar"], repeat=total_args)
for arg_type_tuple in arg_types_tuples:
args: List[Arg] = []
return_types: List[str] = []