[TYPE 3] [Allow to override constants]

Open
#1,186 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with server/endpoint/datasources_endpoint.py and inspect how FILESIZE_LIMIT controls 64 MB chunking. Trace related constants and configuration entry points before deciding the scope; the work is done when users can override the upload limit and the requested constants are centralized without breaking the Tableau Server REST API behavior.

Written by the indexing model from the issue text.

Description

0.26 enhancement in-progress

Summary

Create a configuration file to centralize all constant in a single place, allowing users to override values as needed (Monkey patching)

Description

There is a constant FILESIZE_LIMIT in the datasources_endpoint.py file that is hardcoded to chunk files after 64 MB.

Security policies implemented in a firewall on top of an application could have constrains about the max size of body request or max file upload that could differ in case to case and requires file to be chunked in smaller pieces.

Dominant language
Python
Stars
716
Forks
446
Avg merge
8d 8h
Merged PRs (30d)
2

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/server-client-python

All issues in tableau/server-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.