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
Problem:
Some files like nds_transocde.py, nds_bench.py are too big to read.
Expectation:
We should move out some parts in these big files to new files.
Like get_schemas in nds_transcode.py, we can create a new file to only define schema related, and it's also referred by multiple python scripts.
In nds_bench.py, we can move out the functions which analyze the report file to some utils file, so that only keep the step functions and main process, it should be clear to read.
The text was updated successfully, but these errors were encountered:
It seems not easy to move the code of reading and writing report file to one place.
We can consider it in the future.
GaryShen2008
changed the title
Refactor the code to split some big files into small ones for better reading
Split some big files into small ones for better reading
Aug 29, 2022
Problem:
Some files like nds_transocde.py, nds_bench.py are too big to read.
Expectation:
We should move out some parts in these big files to new files.
Like get_schemas in nds_transcode.py, we can create a new file to only define schema related, and it's also referred by multiple python scripts.
In nds_bench.py, we can move out the functions which analyze the report file to some utils file, so that only keep the step functions and main process, it should be clear to read.
The text was updated successfully, but these errors were encountered: