examples icon indicating copy to clipboard operation
examples copied to clipboard

Create wipeAppwriteBucket() function in Python

Open RedHeadphone opened this issue 3 years ago • 3 comments

fixes appwrite/appwrite#4128

⚡ Function Details

Delete all files inside an Appwrite Storage bucket. Make sure to introduce APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNCTION_ENDPOINT and APPWRITE_FUNCTION_API_KEY function variables. Bucket ID should be received as payload.

Example function payload:

{"bucketId":"profilePictures"}

Successful function response:

{"success":true}

Error function response:

{"success":false,"message":"Bucket not found."}

✅ Task Summary

  • [x] Ask to be assigned to the issue.
  • [x] Implement function wipeAppwriteBucket() in Python/ folder.
  • [x] Manually execute the newly implemented function to ensure it works.
  • [x] Submit a pull request in open-runtimes/examples and include screenshots of successful execution.

📸 Screenshots

first second third error

RedHeadphone avatar Oct 11 '22 14:10 RedHeadphone

@RedHeadphone , thanks for the PR! 🤯 Please give us some time to review it.

Meldiron avatar Oct 12 '22 07:10 Meldiron

Thank you so much for the PR 🤩. We're adding the hacktoberfest-accepted label to ensure this PR counts towards your Hacktoberfest contributions count. With that said, please stay active on this PR to address any comments once you receive a review. Happy Hacktoberfest! 🎃

Meldiron avatar Oct 31 '22 16:10 Meldiron

@stnguyen90 Can we have this merged?

RedHeadphone avatar Dec 10 '22 11:12 RedHeadphone

Hey there 👋 We are temporarily closing your PR as there has been no activity on it. Feel free to re-open it when you're ready to start working on it again 😇

Meldiron avatar Jan 23 '23 08:01 Meldiron