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
The __init__.py contains too much code, but we agree we want to avoid the extreme of one class per file (from JobDB import JobDB style).
The current consensus would be like that:
at a package level (router for example) we have one file per system (configuration.py for example)
If we need more files (think of jobs, which have the sandbox, the joblogging, etc), we put them in a sub module (e.g routers.job). The code goes in a specific file (job.py, joblogging.py) but we use the the __init__.py to expose the specific file
The text was updated successfully, but these errors were encountered:
The
__init__.py
contains too much code, but we agree we want to avoid the extreme of one class per file (from JobDB import JobDB
style).The current consensus would be like that:
configuration.py
for example)routers.job
). The code goes in a specific file (job.py
,joblogging.py
) but we use the the__init__.py
to expose the specific fileThe text was updated successfully, but these errors were encountered: