chat-with-your-data-solution-accelerator icon indicating copy to clipboard operation
chat-with-your-data-solution-accelerator copied to clipboard

Move imports to top of files

Open cecheta opened this issue 1 year ago • 0 comments

Motivation

There are a number of imports which are done within functions, rather than at the top of the file, such as here.

These include latency into requests in the application, as the modules should be imported during application startup not during API requests.

How would you feel if this feature request was implemented?

image

Requirements

A list of requirements to consider this feature delivered

  • Move all imports (except instrumentation imports) to the top of files

Tasks

To be filled in by the engineer picking up the issue

cecheta avatar Apr 05 '24 17:04 cecheta