Modify ↓
Ticket #244 (new enhancement)
Opened 12 months ago
kwargs in dumper represent methods?
| Reported by: | anonymous | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | pyyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Why is it not possible to set a node's kwargs using the node factory methods found in the dumper class? This forces one to write code like:
node = dumper.represent_str(mystring) node.style = '|'
Is there a good reason for this, am I missing something, or would this be a simple improvement of the API?
Attachments
Note: See
TracTickets for help on using
tickets.
