-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: Add GitHub Classroom GetAssignment API endpoint #3685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# Add GitHub Classroom GetAssignment API endpoint Implements `GET /assignments/{assignment_id}` endpoint for retrieving GitHub Classroom assignment details. ## Changes - **New service**: `ClassroomService` with `GetAssignment()` method - **New structs**: `Assignment` (19 fields) and `Classroom` with organization details
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3685 +/- ##
=======================================
Coverage 91.07% 91.08%
=======================================
Files 186 187 +1
Lines 16563 16581 +18
=======================================
+ Hits 15085 15103 +18
Misses 1293 1293
Partials 185 185 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @jferrl!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
@alexandear or @stevehipwell - might you have time for a code review? Thank you!
Refactors the Assignment struct and related methods to ClassroomAssignment for improved clarity and consistency. Updates all accessors, service methods, and tests to use the new name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you, @stevehipwell! |
Implements
GET /assignments/{assignment_id}
endpoint for retrieving GitHub Classroom assignment details.Changes
ClassroomService
withGetAssignment()
methodClassroomAssignment
andClassroom
with organization detailsIssue #3684