Skip to content

Add RPC /api endpoint for harmonization#73

Merged
matthewhorridge merged 4 commits intomainfrom
feat/rpc-api
Jan 24, 2026
Merged

Add RPC /api endpoint for harmonization#73
matthewhorridge merged 4 commits intomainfrom
feat/rpc-api

Conversation

@matthewhorridge
Copy link
Contributor

Summary

  • Add RPC /api endpoint with harmonize + get_job
  • Implement in-memory job registry with row-based progress
  • Add RPC error codes, details, and method aliases
  • Split RPC logic into models/errors/handlers/jobs modules
  • Add RPC docs and examples

Testing

  • pytest

Related issues

- Implement RPC router with harmonize + getJob methods
- Add in-memory job registry with row-based progress
- Add progress callback support in harmonize_dataset
- Add RuleRegistry.list_pairs helper
- Document RPC usage in API examples
- Expand RPC docs with error-code guidance and examples
- Add detailed docstrings for validation and worker flow
- Normalize method aliases and add error code enum
- Add tests for path validation details
- Split RPC routing, models, errors, jobs, and handlers into dedicated modules
- Add in-memory job registry helpers and harmonize worker handlers
- Normalize method aliases and document error-code strategy with details
- Rename request fields to *_file_path and update examples/tests
- Add path validation tests and improve RPC docstrings
- Document request/response schema and error codes
- Detail harmonize/get_job parameters and call flow
- Add example responses (accepted, running, completed)
@matthewhorridge matthewhorridge merged commit 6f032af into main Jan 24, 2026
1 check passed
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.

1 participant