appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
85 stars 29 forks source link

🐛 Bug Report: Can't initialize a python ML function #129

Open stnguyen90 opened 3 weeks ago

stnguyen90 commented 3 weeks ago

👟 Reproduction steps

  1. appwrite init function
  2. select "Python (ML) (python-ml-3.11)"

👍 Expected behavior

The function is created

👎 Actual Behavior

error:

$ appwrite init function
? What would you like to name your function? My Awesome Function
? What ID would you like to have for your function? unique()
? What runtime would you like to use? Python (ML) (python-ml-3.11)
✗ Error ENOENT: no such file or directory, copyfile '/Users/steven/Projects/appwrite-projects/local-delete/functions/My Awesome Function/python-ml-3.11' -> '/Users/steven/Projects/appwrite-projects/local-delete/functions/My Awesome Function'

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

Tested using version 5.0.5 of the CLI

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?