slalombuild / secureli

seCureLI is a tool that enables you to experience the delight of building products by helping you get ideas from your head into working software as frictionlessly as possible, in a reliable, secure, scalable, and observable way.
Apache License 2.0
28 stars 3 forks source link

Move all model class items from ACTION files to shared/models.py #440

Open JordoHeffernan opened 5 months ago

JordoHeffernan commented 5 months ago

As a secureli contributor, I want shared models to be located in a central location

AC

  1. Create a new file called shared_models.py in the shared directory (if it doesn't already exist)
  2. Move any model classes that exist at the top of files in the actions directory to the new file IF they are reused in multiple files a. models that are only used in the file in which they're defined should be left as is.
  3. Update any and all dependent imports (VS code should do this for you)

Notes