(items, key)
| 36 | |
| 37 | |
| 38 | def list_to_map(items, key): |
| 39 | result = {} |
| 40 | for item in items: |
| 41 | if "experimental" not in item and "hidden" not in item: |
| 42 | result[item[key]] = item |
| 43 | return result |
| 44 | |
| 45 | |
| 46 | def named_list_to_map(container, name, key): |
no outgoing calls
no test coverage detected