The file batch_size_calc.py is no longer used in any way, since it was responsible for estimating the batch size (or job size) or objects from the Tampa POC (swap contracts, swap positions etc). These have been deprecated from the MVP so this file is redundant and can be removed.
Note: this closes #63
Design
Delete the file batch_size_calc.py and ensure any references to it are removed (eg in import statements - it is not currently used in any actual functionality).
app.py
in process_object_factory, remove the call to object_factory.set_batch_size() on line 83 since this should take place inside init of Creatable
creatable.py
remove the set_batch_size method, and replace with an assignment of the relevant value in init taken from the config like so:
Issue Description
The file
batch_size_calc.py
is no longer used in any way, since it was responsible for estimating the batch size (or job size) or objects from the Tampa POC (swap contracts, swap positions etc). These have been deprecated from the MVP so this file is redundant and can be removed.Note: this closes #63
Design
Delete the file
batch_size_calc.py
and ensure any references to it are removed (eg in import statements - it is not currently used in any actual functionality).app.py
in
process_object_factory
, remove the call toobject_factory.set_batch_size()
on line 83 since this should take place inside init ofCreatable
creatable.py
remove the
set_batch_size method
, and replace with an assignment of the relevant value in init taken from the config like so:Documentation Changes
N/A
Test Evidence
All existing tests and output should be as expected
Validation in Develop All existing tests and output should be as expected