Create datasource from scratch
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start with the TSC.DatasourceItem entry point and the server.datasources.publish call shown in the issue, then inspect how tds/tdsx files are currently used. Determine whether publishing can accept only connection details and a table name, and define the supported behavior before considering implementation or tests.
Written by the indexing model from the issue text.
Description
Hi,
It's not an issue but more a question :).
I would like to create a datasource from scratch using python TSC, with only the following information:
- table name of the database
- server name
- host
- username
- password
Do you have any idea?
I would like to avoid the creation of a tds/tdsx file first. Then I have not issue to publish.
new_datasource = TSC.DatasourceItem(project_id,name=datasource_name)
server.datasources.publish(new_datasource, file_path, 'CreateNew',connection_credentials=None)
Thank you,
Mathilde
- Dominant language
- Python
- Stars
- 363
- Forks
- 183
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tableau/document-api-python
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
tableau/document-api-python#270 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
tableau/document-api-python#260 ·
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
tableau/document-api-python#258 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
tableau/document-api-python#251 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
tableau/document-api-python#250 · 2 comments ·
All issues in tableau/document-api-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
🐛 Bug 🔔 Pending processing
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
jumpserver/jumpserver#17584 ·