Commit ea38b2fc authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 96d7860b
Pipeline #233 passed with stages
in 15 seconds
...@@ -153,13 +153,21 @@ here is the way to combine records: ...@@ -153,13 +153,21 @@ here is the way to combine records:
>>> fr2.add_record(filepath="test2.txt", db=False, comment="test file 2") >>> fr2.add_record(filepath="test2.txt", db=False, comment="test file 2")
>>> fr_all = FileRecorder([*fr1, *fr2]) >>> fr_all = FileRecorder([*fr1, *fr2])
>>> fr_all.pprint_all() >>> fr_all.pprint_all()
<FileRecorder length=2> <FileRecorder length=2>
filepath db comment existence filepath db comment existence
--------- ----- ----------- --------- --------- ----- ----------- ---------
test1.txt False test file 1 False test1.txt False test file 1 False
test2.txt False test file 2 False test2.txt False test file 2 False
>>> fr_all.extend(fr1)
>>> fr_all.pprint_all()
<FileRecorder length=3>
filepath db comment existence
--------- ----- ----------- ---------
test1.txt False test file 1 False
test2.txt False test file 2 False
test1.txt False test file 1 False
``csst_common.logger.get_logger()`` ``csst_common.logger.get_logger()``
----------------------------------- -----------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment