Unabled to create Subscriptions with schedule as "On Extract Refresh"
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start with the SubscriptionItem class and the subscription serialization path described in the report. Determine how Tableau represents subscriptions triggered by extract refresh when no schedule_id is supplied, then verify that creation succeeds against the reported Tableau Server version without the None serialization error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Subscriptions can be created on specific schedules. However, it is not possible to create subscriptions based on extract refresh. The SubscriptionItem class (subject, schedule_id, user_id, target) requires schedule_id as a mandatory parameter, so it cannot be ignored or set to None.
I have read some articles to ignore/ dont pass "schedule_id" but it doesn't seems to be working.
Env:
- Tableau Server: On Prem: 2025.1.1 (20251.25.0415.1018) 64-bit Windows
- Python version: 3.12.0
- TSC library version: 0.38.
To Reproduce
Try to create a subcription that should have schedule as "On Extract Refresh"
Results
Error When None is passed to Scheduled ID: new_sub = TSC.SubscriptionItem(email_subject, schedule_id=None, user_id, target)
INFO Creating a subscription (<Subscription subject(Test_User_TestSubscriptions2_withoutschedule) schedule_id(None) user_id(f57ca8cb-4a14-4b01-ac7b-721ffe260537) target(<Target#761209c1-decd-4626-8bbb-7be632e2efe8, view>))
Failed to create subscription. below is the error message
INFO cannot serialize None (type NoneType)
Error When Schedule_Id parameter is skipped: new_sub = TSC.SubscriptionItem(email_subject, user_id, target)
SubscriptionItem.init() missing 1 required positional argument: 'schedule_id'
please suggest if I'm missing any
- Lingua principale
- Python
- Stelle
- 716
- Fork
- 446
- Merge medio
- 8g 8h
- PR unite (30g)
- 2
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tableau/server-client-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
tableau/server-client-python#1865 ·
-
in-progress
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tableau/server-client-python#1829 · 1 commento ·
-
enhancement gap needs investigation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tableau/server-client-python#1322 · 1 commento ·
-
[Type2] Allow Incremental Refresh type schedules to be added via `server.schedules.add_to_schedule` Apertahelp wanted Server-Side Enhancement ui-exists
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tableau/server-client-python#1101 · 3 commenti ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tableau/server-client-python#783 · 5 commenti ·
Tutte le issue di tableau/server-client-python
Issue simili
-
link-check link-check:sphinx-theme
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
OpenHands/extensions#626 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
CSCfi/sd-search-api#39 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100