You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we have around 1200 lines of code in a single file which is probably not a good practice. Also, this will increase since we are going to continue to add more functions. So it would be good if we can move the functions out of the vault.py file and only keep it as an entry point and maybe perform basic checks on ip/url.
To call other functions we can have maybe a util directory where we can keep all the existing functions. This will increase the number of imports or number of files but it will definitely help us to keep everything clean in vault.py
The text was updated successfully, but these errors were encountered:
Hi, found this in KWOC. Would like to try to refactor it. But need some context on how to group functions (like which functions can be grouped into a module and then be imported into vault.py.
Currently, we have around 1200 lines of code in a single file which is probably not a good practice. Also, this will increase since we are going to continue to add more functions. So it would be good if we can move the functions out of the
vault.py
file and only keep it as an entry point and maybe perform basic checks on ip/url.To call other functions we can have maybe a
util
directory where we can keep all the existing functions. This will increase the number of imports or number of files but it will definitely help us to keep everything clean in vault.pyThe text was updated successfully, but these errors were encountered: