ae12ad3cfac17803781db6339e9c7e8f65cf0d51,wandb/sdk_py27/verify/verify.py,,check_graphql_put,#Any#Any#,380
Before Change
return None
public_api = wandb.Api()
try:
prev_run = public_api.run("{}/{}/{}".format(run.entity, PROJECT_NAME, run.id))
except Exception:
failed_test_strings.append(
"Unable to access previous run through public API. Contact W&B for support."
)
print_results(failed_test_strings, False)
return None
try:
read_file = prev_run.file(gql_fp).download(replace=True)
except Exception:
failed_test_strings.append(
After Change
return False, None
// TODO: (kdg) refactor this so it doesn"t rely on an exception handler
try:
read_file = retry_fn(partial(prev_run.file, gql_fp))
read_file = read_file .download(replace=True)
except Exception:
failed_test_strings.append(
"Unable to read file successfully saved through a put request. Check SQS configurations, bucket permissions and topic configs."
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances Project Name: wandb/client
Commit Name: ae12ad3cfac17803781db6339e9c7e8f65cf0d51
Time: 2021-02-05
Author: kdgoyette@gmail.com
File Name: wandb/sdk_py27/verify/verify.py
Class Name:
Method Name: check_graphql_put
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 0b686a33355044ffd8957f28a856674c9f00116e
Time: 2020-04-07
Author: ruwa@google.com
File Name: perfkitbenchmarker/data/large_scale_boot/listener_server.py
Class Name:
Method Name:
Project Name: wandb/client
Commit Name: ae12ad3cfac17803781db6339e9c7e8f65cf0d51
Time: 2021-02-05
Author: kdgoyette@gmail.com
File Name: wandb/sdk_py27/verify/verify.py
Class Name:
Method Name: check_run