# Read the file into memory cuz if the request fails
# no file is corrupted.
buf=file.stream.readall()
buf=file.stream.read()
# Write to file (create if not exists) when
# everything read successfully.
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.