[CLIENT-5049] Convert existing code examples in examples/ folder to inherit from a base class for boilerplate setup#1149
Draft
juliannguyen4 wants to merge 26 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #1149 +/- ##
==========================================
- Coverage 85.38% 85.38% -0.01%
==========================================
Files 101 101
Lines 14610 14609 -1
==========================================
- Hits 12475 12474 -1
Misses 2135 2135 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…. TODO - Because of the C# client's fixture system, I'm wondering if we can just use pytest
…t support this. Also remove outdated python 2 compatibility code
…isting-code-examples-to-use-harness-class
…isting-code-examples-to-use-harness-class
juliannguyen4
commented
Jul 21, 2026
| res = client.apply((namespace, set, key), module, function, argl) | ||
| class Apply(ExampleWithRecord): | ||
| def run(self): | ||
| module = "module" |
Collaborator
Author
There was a problem hiding this comment.
Needs to use a real UDF function
…isting-code-examples-to-use-harness-class
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.
Extra changes
Remove the outdated async examples
TODO