Skip to content

Commit

Permalink
changed choices type
Browse files Browse the repository at this point in the history
  • Loading branch information
its0x4d committed Dec 13, 2023
1 parent 79b7087 commit d41ca00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ignore Python cache files
__pycache__/
__pycache__/**/*
__pycache__/*

# Ignore IDE-specific files and directories
.idea/
Expand Down
4 changes: 2 additions & 2 deletions fastapi_jet/utils.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import os
from enum import EnumType
from enum import Enum
from typing import List
import questionary


def enum_question(choices: EnumType) -> questionary.Question:
def enum_question(choices: Enum) -> questionary.Question:
"""
This function is used to present a question with multiple choices to the user.
Expand Down

0 comments on commit d41ca00

Please sign in to comment.