Code4GovTech / server

0 stars 4 forks source link

> * the .get_instance() paradigm in SupabaseInterface will slowdown API interactions with database trying to instantiate and reinstantiate class instances. Let's simply convert that to being a module and import functions for use. #76

Closed sasi2312 closed 1 month ago

sasi2312 commented 1 month ago
  • the .get_instance() paradigm in SupabaseInterface will slowdown API interactions with database trying to instantiate and reinstantiate class instances. Let's simply convert that to being a module and import functions for use.
  • Let's define exception handling better and introduce some observability.
  • Let's not use pass as placeholder statements for anything. Many uses either have no functionality here or hide the fact that a crucial function has failed.
  • Github Profile Rendering logic seems outdated.

    • It's referencing template names with old badge names (enthusiast/rising star)