Tags: eclipse-uprotocol/up-python
Tags
Move InMemorySubscriber from L2 to L3 client module (#56) * Move InMemorySubscriber from L2 to L3 client module * Updated UListener on_receive method to be asynchronous and add additional test cases * Update READMEs * Bump version to 0.2.0 for major release introducing L2 and L3. * Delete client README.html * Incorporated Reviewers comment * Fixed review comments * Fixed communication status issue * Added subscriber info in unsubscribe request * Address review comments
Add workflow to test code coverage and generate coverage report (#24) * Add workflow to test code coverage and generate coverage report This commit adds a GitHub Actions workflow (`coverage.yml`) . The workflow runs on pull requests targeting the `main` branch and consists of a job named `test-and-coverage`. The job runs tests with coverage enabled, generates an HTML coverage report, and uploads the report as an artifact. Additionally, the workflow extracts the pull request title and description and comments on the pull request with the coverage results. * Add utransport test cases * Increase code coverage With these new tests, we were able to increase code coverage to 98%. Along with this, we provided some linting improvements, as well as fixed a few methods that were implemented incorrectly in a previous PR. * Update pyproject.toml Current system does not support tool.coverage.report, so I have removed it for now. Those exclusion cases will be covered in the coverage.rc file * Add steps to comment on the PR with the coverage report * Remove comment on PR step --------- Co-authored-by: Matthew D'Alonzo <matthew.dalonzo@gm.com>
[Matthew D'Alonzo] initial commit (#15) * [Matthew D'Alonzo] initial commit * [Matthew D'Alonzo] Removed protos from repository, added proto compiler script * Re-Added cloudevents_pb2.py * Add missing dependencies and fix uri serializer test * Resolved PR comments: removed javadoc references, changed send api to receive UMessage as parameter, removed 8 from comment, made Source a required field * Made on_receive receive uMessages, removed payload reference in rpcmapper * Fixed rpcmapper tests * Bug fix --------- Co-authored-by: gzm6xl_gme <matthew.dalonzo@gm.com> Co-authored-by: Neelam Kushwah <neelam.kushwah@gm.com>