(parsed_list: list)
| 146 | |
| 147 | |
| 148 | def get_feature_switches(parsed_list: list) -> list: |
| 149 | reg_exports = "e\.exports={var}$".format(var="([a-zA-Z]{1,2})") |
| 150 | exports_list = search_js_reg(parsed_list, reg_exports) |
| 151 | for exports in exports_list: |
| 152 | feature_switches = get_freeze_object(exports.parent, disable_tqdm=True) |
| 153 | if len(feature_switches) > 0: |
| 154 | return feature_switches[0] |
| 155 | |
| 156 | |
| 157 | def to_api(graphql_output: list, kwargs: dict) -> dict: |
nothing calls this directly
no test coverage detected