Updating field values and adding aliases/calculated fields

Open
#103 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Review the feature_modify_fields branch in the reporter's fork and compare its implementation with the stated requirements for modifying field metadata, aliases, and calculated fields in .tds files. Check the existing library behavior first, then add coverage for the implemented requirements and define completion as support for all three requirements with tests.

Written by the indexing model from the issue text.

Description

enhancement

Hello everyone,

I have the following requirements:

  • The ability to modify the caption, datatype, role and type of a field (aka ) inside a .tds-file.
  • The ability to modify and add aliases (the kind of alias) to a given field inside a .tds-file.
  • The ability to modify, and add calculated fields inside a .tds-file.

Since the current version of document-api-python doesn't seem to support this, I'm in the process of forking this repository and implementing those features. I have currently implemented a first version of requirements 1 and 2, and will probably have time for the calculated fields and polishing (aka tests) at some point next week.

Changes are currently in the branch "feature_modify_fields" in my fork. I'd love to hear some feedback about the implementation and the general direction I'm going with this fork. If there is any interest in those features, I'd be happy to start the internal process of getting the CLA underway.

Greetings from Germany

Dominant language
Python
Stars
363
Forks
183
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 tableau/document-api-python

All issues in tableau/document-api-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.