Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Improve EmergencyManagement gateway dataclass handling#194

Merged
brothercorvo merged 1 commit intomainfrom
corvo/add-rest-endpoints-for-lxmf-commands
Oct 7, 2025
Merged

Improve EmergencyManagement gateway dataclass handling#194
brothercorvo merged 1 commit intomainfrom
corvo/add-rest-endpoints-for-lxmf-commands

Conversation

@brothercorvo
Copy link
Copy Markdown
Contributor

Summary

  • add command specifications in the EmergencyManagement gateway so each REST route converts request payloads into the correct LXMF dataclasses and expects typed responses
  • normalise decoded LXMF replies by coercing primitives, rebuilding dataclasses, and serialising them back to JSON-safe structures
  • align the web gateway tests with the typed delete response and compressed list payload handling

Testing

  • pytest tests/examples/emergency_management/test_web_gateway.py

https://chatgpt.com/codex/tasks/task_e_68e572559eec83258f3035c4af41eb94

@brothercorvo brothercorvo merged commit fd1b4ed into main Oct 7, 2025
0 of 2 checks passed
@brothercorvo brothercorvo deleted the corvo/add-rest-endpoints-for-lxmf-commands branch October 7, 2025 20:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant