Allow getting information about a schema's parameters while maintaining the original order of the parameters
Bug #1003233 reported by
Christopher Armstrong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txAWS |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
We want to be able to serialize txaws Schemas to json so we can auto-generate client APIs based on them.
It'd be handy to see what parameters a schema has, in the order they were originally specified in, so that we can save this information and use it so our auto-generated API can accept positional arguments.
In addition, it'd be nice to be able to introspect the actions and versions of a txaws.server.
Related branches
lp://staging/~radix/txaws/ordered-parameters
- Free Ekanayaka (community): Approve
- Thomas Herve: Approve
-
Diff: 500 lines (+221/-59)4 files modifiedtxaws/server/registry.py (+12/-0)
txaws/server/schema.py (+115/-32)
txaws/server/tests/test_registry.py (+23/-0)
txaws/server/tests/test_schema.py (+71/-27)
Changed in txaws: | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Christopher Armstrong (radix) |
Changed in txaws: | |
status: | In Progress → Fix Committed |
Changed in txaws: | |
assignee: | Christopher Armstrong (radix) → nobody |
To post a comment you must log in.