| skipped 138 lines |
139 | 139 | | if dictionary["status"].status != QueryStatus.CLAIMED: |
140 | 140 | | continue |
141 | 141 | | |
142 | | - | site_fallback_name = dictionary.get('url_user', f'{website_name}: {username.lower()}') |
| 142 | + | site_fallback_name = dictionary.get( |
| 143 | + | 'url_user', f'{website_name}: {username.lower()}' |
| 144 | + | ) |
143 | 145 | | # site_node_name = dictionary.get('url_user', f'{website_name}: {username.lower()}') |
144 | 146 | | site_node_name = graph.add_node('site', site_fallback_name) |
145 | 147 | | graph.link(username_node_name, site_node_name) |
| skipped 19 lines |
165 | 167 | | data_node_name = graph.add_node(vv, site_fallback_name) |
166 | 168 | | graph.link(list_node_name, data_node_name) |
167 | 169 | | |
168 | | - | add_ids = {a: b for b, a in db.extract_ids_from_url(vv).items()} |
| 170 | + | add_ids = { |
| 171 | + | a: b for b, a in db.extract_ids_from_url(vv).items() |
| 172 | + | } |
169 | 173 | | if add_ids: |
170 | 174 | | process_ids(data_node_name, add_ids) |
171 | 175 | | else: |
172 | | - | # value is just a string |
| 176 | + | # value is just a string |
173 | 177 | | # ids_data_name = f'{k}: {v}' |
174 | 178 | | # if ids_data_name == parent_node: |
175 | 179 | | # continue |
| skipped 344 lines |