Skip to content
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

For Every API Formdata is being used #965

Open
kartikpersistent opened this issue Dec 20, 2024 · 0 comments
Open

For Every API Formdata is being used #965

kartikpersistent opened this issue Dec 20, 2024 · 0 comments

Comments

@kartikpersistent
Copy link
Collaborator

kartikpersistent commented Dec 20, 2024

We can use normal JSON format instead of form data if we use form data we need perform extra parsing to convert that to JSON which hinders the performance

Ex:

       context_list = [str(item).strip() for item in json.loads(context)] if context else []
       answer_list = [str(item).strip() for item in json.loads(answer)] if answer else []
       mode_list = [str(item).strip() for item in json.loads(mode)] if mode else [] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant