Commit 69e8831
Refactor endpoints to adhere to SOLID principles.
- Introduce `_extract_special_params` hook in `ListGetEndpointMixin`.
- Refactor `UsersEndpoint` and `RecordsEndpoint` to use the new hook, removing `_list_impl` overrides.
- Refactor `RecordsEndpoint` to share creation logic between sync and async methods via `_prepare_create_request`.
- Refactor `JobsEndpoint` to share path building and parsing logic between sync and async methods.
- Create `.jules/architect.md` to document architectural decisions.
- Remove unused imports in `imednet/endpoints/users.py`.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent 9ecf8eb commit 69e8831
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
0 commit comments