Update typehint
This commit is contained in:
parent
0574a40693
commit
b86a602ad4
@ -1,6 +1,6 @@
|
|||||||
import logging
|
import logging
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict, List
|
||||||
|
|
||||||
from questionary import Separator, prompt
|
from questionary import Separator, prompt
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ def ask_user_config() -> Dict[str, Any]:
|
|||||||
Interactive questions built using https://github.com/tmbo/questionary
|
Interactive questions built using https://github.com/tmbo/questionary
|
||||||
:returns: Dict with keys to put into template
|
:returns: Dict with keys to put into template
|
||||||
"""
|
"""
|
||||||
questions = [
|
questions: List[Dict[str, Any]] = [
|
||||||
{
|
{
|
||||||
"type": "confirm",
|
"type": "confirm",
|
||||||
"name": "dry_run",
|
"name": "dry_run",
|
||||||
|
Loading…
Reference in New Issue
Block a user