Add allow_external flag & Fix Tests#807
Merged
EdwardJXLi merged 12 commits intodevelopfrom Mar 12, 2025
Merged
Conversation
bagel897
suggested changes
Mar 12, 2025
src/codegen/sdk/utils.py
Outdated
| """ | ||
| old_cwd = os.getcwd() | ||
| try: | ||
| os.chdir(path) |
Contributor
There was a problem hiding this comment.
Can we use this as a pytest fixture?
Contributor
Author
There was a problem hiding this comment.
Hmm, looking into it!
| For this to properly work, you may also need to enable `allow_external`. | ||
| </Note> | ||
|
|
||
| ## Flag: `allow_external` |
Contributor
There was a problem hiding this comment.
Hm I don't think we have the performance in the current sdk to handle external resolution so this makes sense
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed --------- Co-authored-by: kopekC <28070492+kopekC@users.noreply.github.com>
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed --------- Co-authored-by: tomcodgen <191515280+tomcodgen@users.noreply.github.com> Co-authored-by: tomcodegen <kucar.tomislav@gmail.com>
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
Contributor
Author
|
I flew a little too close to the sun with git rebase |
Contributor
|
🎉 This PR is included in version 0.49.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Motivation
Content
Testing
Please check the following before marking your PR as ready for review