Skip to content

Commit

Permalink
fix(jans-cli-tui): List types (#7798)
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa Baser <mbaser@mail.com>
  • Loading branch information
devrimyatar committed Feb 27, 2024
1 parent 6b64d6a commit 3aadc34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jans-cli-tui/cli_tui/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import datetime

from types import SimpleNamespace
from typing import Optional
from typing import Optional, List

import prompt_toolkit

Expand Down Expand Up @@ -191,7 +191,7 @@ def fromisoformat(dt_str):
def check_email(email):
return re.match('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$', email, re.IGNORECASE)

def get_help_with(helps: str='', without: list[str]=None):
def get_help_with(helps: str='', without: List[str]=None):
if not without:
without = []
help_list = []
Expand Down

0 comments on commit 3aadc34

Please sign in to comment.