Skip to content

Clean Up Src/Config #152

@JadHay8

Description

@JadHay8

src/config has some files that contain some enums which was supposed to be a nice way to standardize things in our system. However, it's not really integrated properly and is really just some AI slop that isn't usable. Instead we have src/models/security.py which creates the class for security object which is extendable and serves as an example for future classes/interfaces we could create if needed.

The Task at Hand:

  • Look at the python files in src/config and check where/if they are being used
  • Evaluate if the places that there is usage can be removed/replaced by the security class in src/models/security.py
  • If there are areas where you think the only option would be to keep the config file then report this as a comment in this issue and note the code in the config file that's relevant. Then we can remove all the code that in those files that isn't used (rather than the entire files).
  • If you successfully conclude that they are not really being used/have replaced all instances where possible/necessary then report this and remove the files in src/config (you can keep the directory empty for now in case we want to put something else in there or re-create the files in a better way).

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions