Conversation
melodell
left a comment
There was a problem hiding this comment.
This is weird because I totally had it working with the old command when I uploaded groups the other day! The PK is something like "2035" (some random ID number).
I'm guessing both the old way and the way you added work, depending on if you use the project PK or the course + project number combo. Maybe we should keep them both?
|
def get_project_smart(project_arg, course_arg, client):
"""Interact with the user to select a project.
1. If project_arg is a number, look up project by primary key
2. Use previously defined procedure for smart course selection
3. If project_arg is None, prompt with list of projects for selected course
4. If project_arg is a string, try to match project name
This function provides sanity checks and may exit with an error message.
"""The example in the README here is from some past term that you may not have access to. My suggestion: add your change here as an additional example instead of a replacement, and add a sentence or two explaining to replace the pk with the pk of the project you're trying to access (you can find it in the autograder URL for the project). |
Not sure if AGIO-CLI has been updated, but the previous command did not work. The updated command works.