[Bugfix:Autograding] Render Jupyter Notebook TypeError#12013
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #12013 +/- ##
============================================
+ Coverage 21.66% 21.68% +0.01%
- Complexity 9528 9531 +3
============================================
Files 268 257 -11
Lines 36395 34448 -1947
Branches 475 475
============================================
- Hits 7886 7471 -415
+ Misses 28038 26506 -1532
Partials 471 471
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
bmcutler
approved these changes
Aug 19, 2025
Member
bmcutler
left a comment
There was a problem hiding this comment.
thanks! I tested and this has solved the problem we had on our production server.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why is this Change Important & Necessary?
This change is necessary because it fixes a TypeError that occurs when trying to render a Jupyter Notebook with a cell source that is only a string and not a list.
What is the New Behavior?
Rendering the notebook should now successfully account for a string source, as it did prior to #11891.
Before

After
Notebook successfully renders.
What steps should a reviewer take to reproduce or test the bug or new feature?
Automated Testing & Documentation
No tests needed for UI.
Other information