Skip to content

Commit aea5315

Browse files
committed
[airos] added type hints for recursive function
1 parent 585a3ce commit aea5315

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

netjsonconfig/backends/airos/airos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def intermediate_to_list(configuration):
7373
- list -> prepend the list index to every item key
7474
- dictionary -> prepend the father key to every key
7575
76-
configuration :: list
77-
return list
76+
configuration :: List[Enum[Dict,List]]
77+
return List[Dict]
7878
7979
>>> intermediate_to_list([
8080
{

0 commit comments

Comments
 (0)