Repository navigation
Add update_member and get_members_xlsx methods - #197
alistair0adams wants to merge 25 commits into
Conversation
|
Thanks for this @alistair0adams . Are you OK to add the missing return annotation? Should be |
|
Sorry @alistair0adams have been on other projects. Will try to test in next 1-2 weeks. |
|
Thanks @alistair0adams — preparing a 1.2.1 release sweep and would love to bring these methods in. Before merging, this PR needs a quick refresh:
If you're short on time and want to land just the cleanup + rebase, I'm happy to take #197 over by pushing to your branch (or open a follow-up PR that picks your commit). Let me know what works best. |
|
Sorry for the non resposonse earlier. I think we're all suffering working on other things. This is a heads up that I have done the rebase, written two tests, fixed the typos, but have a few test to do before saying it's ready to have another go at at PR. Please be patient, lots of things here that I had to learn that are not part of my daily life. |
|
Looks like this is ready to go. It seems to have passed all the test so hoping I've got everything right. |
There was a problem hiding this comment.
🟡 Changes recommended
The payments API is outside the stated scope, lacks tests, has an incorrect return contract, and the changed Python files fail repository formatting conventions.
4 open findings
What changed in this PR
Adds member update/export APIs, plus an additional received-payments API.
Changes:
- Adds member updating and XLSX export methods with tests.
- Adds received-payment retrieval and caching.
- Documents APIs and provides usage examples.
| File | Description |
|---|---|
spond/spond.py |
Implements the three API methods. |
tests/test_spond.py |
Tests member updating and XLSX export. |
README.md |
Documents the new methods. |
examples/update_member.py |
Demonstrates updating member fields. |
examples/payments.py |
Demonstrates exporting payments. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
@alistair0adams not sure if you are familiar with ruff? poetry run ruff format
poetry run ruff check --fix(We should document this in contribution guidelines). Have to say, adding new (payments) features to an in-progress PR isn't a good idea. Can I suggest, to get this done, just remove them to a future PR? |
|
Thanks @elliot-100. I'd used ruff when it complained earlier but not with the format option. I've taken out the payments feature. It looks clean to me but as I've found out looks can be deceiving. |
|
Your effort is highly appreciated. |
Fix typo in update_member() documentation. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>



Added two methods