(node: str, section, version: Version)
| 94 | nodes_dict[node].attributes_[ntp_setting].append(version) |
| 95 | |
| 96 | def process_node(node: str, section, version: Version): |
| 97 | global nodes_dict |
| 98 | with mutex: |
| 99 | if node not in nodes_dict: |
| 100 | nodes_dict[node] = NodeInfo([], {}) |
| 101 | nodes_dict[node].versions_.append(version) |
| 102 | |
| 103 | attrs = section.find_all("dl", class_="py attribute") |
| 104 | |
| 105 | for attr in attrs: |
| 106 | process_attr(attr, section, node, version) |
| 107 | |
| 108 | datas = section.find_all("dl", class_="py data") |
| 109 | for data in datas: |
| 110 | process_attr(data, section, node, version) |
| 111 | |
| 112 | def download_file(filepath: str, version: Version, local_path: str) -> bool: |
| 113 | file_url = f"https://docs.blender.org/api/{version.point_str()}/{filepath}" |
no test coverage detected