(path)
| 130 | |
| 131 | |
| 132 | def encode_url_or_file_to_base64(path): |
| 133 | try: |
| 134 | requests.get(path) |
| 135 | return encode_url_to_base64(path) |
| 136 | except (requests.exceptions.MissingSchema, |
| 137 | requests.exceptions.InvalidSchema): |
| 138 | return encode_file_to_base64(path) |
| 139 | |
| 140 | |
| 141 | def service_data_decoder(task, data): |
nothing calls this directly
no test coverage detected
searching dependent graphs…