Skip to content

Commit

Permalink
πŸ“ README - Add example of post-processor usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ducdetronquito committed Oct 6, 2022
1 parent c9e3ebb commit 5cb6e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ schema = {
{"key": "label", "column-number": 3, "type": "str"},
{"key": "family-code", "column-number": 8, "type": "str"},
{"key": "vat", "column-number": 10, "type": "decimal"},
{"key": "initial-price", "column-number": 11, "type": "decimal"},
{"key": "initial-price", "column-number": 11, "type": "decimal", "post-processors": {"name": "divide", "parameters": {"denominator": 100}}},
{"key": "unit-of-measurement", "column-number": 12, "type": "int", "pre-processors": [{"name": "map", "parameters": {"values": {"K": 0, "A": 1, "L": 2}}}]},
{"key": "volume", "column-number": 13, "type": "decimal"},
]
Expand Down

0 comments on commit 5cb6e51

Please sign in to comment.