How to deal with formatters?

Open
#78 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start by reading the PercentField and Table APIs, then review related issues #34 and #30. Clarify whether formatter instances belong in fields during import or are configured only for export; the issue is done when the supported formatter workflow is specified and documented.

Written by the indexing model from the issue text.

Description

enhancement rows.fields rows.table utils

Imagine a scenario: I want to format PercentField in a different way when exporting to txt.

Questions:

  • Should I create an instance of it and pass the instance into fields when importing the Table? Related to #34 and #30.
  • How can I specify these formatters when exporting (not importing)?

This is a bit analogous to Django form widgets.

Dominant language
Python
Stars
886
Forks
137
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from turicas/rows

All issues in turicas/rows

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.