| Conditions | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | |||
| 10 | def concatenatedSchema(): |
||
| 11 | """ |
||
| 12 | Schemea does not include keyfield as that is specified during table creation. This provides a way to return the ENTIRE table schema including both. |
||
| 13 | :return: |
||
| 14 | """ |
||
| 15 | import copy |
||
| 16 | |||
| 17 | CNBP_schema = copy.deepcopy(CNBP_schema_fields) |
||
| 18 | CNBP_schema.insert(0, CNBP_schema_keyfield) |
||
| 19 | |||
| 20 | CNBP_schema_types = copy.deepcopy(CNBP_schema_fields_types) |
||
| 21 | CNBP_schema_types.insert(0, CNBP_schema_keyfield_type) |
||
| 22 | |||
| 23 | return CNBP_schema, CNBP_schema_types |
||
| 24 | |||
| 32 |