8000 fix(jans-cli-tui): List types by devrimyatar · Pull Request #7798 · JanssenProject/jans · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(jans-cli-tui): List types #7798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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