()
| 432 | |
| 433 | |
| 434 | def _build_growth_rates(): |
| 435 | def csv_record_to_objects(info): |
| 436 | yield GrowthRate(id=int(info[0]), name=info[1], formula=info[2]) |
| 437 | |
| 438 | build_generic((GrowthRate,), "growth_rates.csv", csv_record_to_objects) |
| 439 | |
| 440 | def csv_record_to_objects(info): |
| 441 | yield GrowthRateDescription( |
| 442 | growth_rate_id=int(info[0]), language_id=int(info[1]), description=info[2] |
| 443 | ) |
| 444 | |
| 445 | build_generic( |
| 446 | (GrowthRateDescription,), "growth_rate_prose.csv", csv_record_to_objects |
| 447 | ) |
| 448 | |
| 449 | |
| 450 | # ########### |
no test coverage detected