Skip to content

[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
devfrom
CLIENT-5049-convert-existing-code-examples-to-use-harness-class
Draft

[CLIENT-5049] Convert existing code examples in examples/ folder to inherit from a base class for boilerplate setup#1149
juliannguyen4 wants to merge 26 commits into
devfrom
CLIENT-5049-convert-existing-code-examples-to-use-harness-class

Conversation

@juliannguyen4

@juliannguyen4 juliannguyen4 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Extra changes

Remove the outdated async examples

TODO

  • ttl.py needs addressing
  • aggregate.py

@codecov-commenter

codecov-commenter commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.38%. Comparing base (6e58641) to head (43e015d).
⚠️ Report is 1 commits behind head on dev.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…. 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
Comment thread examples/client/apply.py
res = client.apply((namespace, set, key), module, function, argl)
class Apply(ExampleWithRecord):
def run(self):
module = "module"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to use a real UDF function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants