Skip to content

Commit

Permalink
arrange the import function
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjawalpoudel committed Apr 11, 2023
1 parent 3c9d715 commit 03cc608
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
9 changes: 5 additions & 4 deletions app/routes/chatbotCRUD.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# * Import Python Module
from datetime import datetime
# Standard Library Imports
import json
from datetime import datetime

# Third-Party Imports
from flask import Blueprint, request
from mongoengine import DoesNotExist


# * Import User Defined Functions
# Local Imports
from app.models.chatbotDbModel import User
from app.validators.models.chatbotUserValidators import UserModel, UpdateUserModel
from service.errorHandler import error_handler
Expand Down
21 changes: 11 additions & 10 deletions app/routes/chatbotResponseCRUD.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
# * Import Python Module
import json
# Standard library imports
import datetime
import json

# Third-party imports
from flask import Blueprint, request
from mongoengine import DoesNotExist


# * Import User Defined Functions
# Local application imports
from app.models.chatbotResponseDbModel import ChatbotResponse
from app.validators.models.chatbotResponseValidators import (
ChatbotResponseModel,
CreateChatbotResponseModel,
)
from service.errorHandler import error_handler
from service.pydanticDecorator import pydantic_validation
from app.models.chatbotResponseDbModel import ChatbotResponse
from service.response import response
from service.machineLearning.machineLearningModel import clf, cols
from service.machineLearning.getSymptomList import get_all_symptoms
from service.machineLearning.makeSuggestion import make_suggestion
from service.machineLearning.getDescription import get_description
from service.machineLearning.getPrecaution import get_precaution
from service.machineLearning.getSymptomList import get_all_symptoms
from service.machineLearning.machineLearningModel import clf, cols
from service.machineLearning.makeSuggestion import make_suggestion
from service.pydanticDecorator import pydantic_validation
from service.response import response


# * Import Constant Variables
Expand Down

0 comments on commit 03cc608

Please sign in to comment.