tableau / TabPy

Execute Python code on the fly and display results in Tableau visualizations:
https://tableau.github.io/TabPy/
MIT License
1.57k stars 599 forks source link

Can we use tabpy function even if TABPY_EVALUATE_ENABLE is set to false #589

Closed abhishekzgithub closed 1 year ago

abhishekzgithub commented 1 year ago

Environment information:

Describe the issue A clear and concise description of what the issue is.

To Reproduce Disable the TABPY_EVALUATE_ENABLE by setting it to false

Expected behavior TABPY_EVALUATE_ENABLE if false, there should be a workaround to access the server's deployed function Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

nmannheimer commented 1 year ago

Yes you can call them, but currently only in Tableau calculated fields using MODEL_EXTENSION_X

https://help.tableau.com/current/pro/desktop/en-us/r_connection_manage.htm#directly-query-external-analytics-models

abhishekzgithub commented 1 year ago

Hi @nmannheimer , is there a documentation to check for examples to use and deploy 'MODEL_EXTENSION_X'. I searched but couldn't find anywhere over the internet.

nmannheimer commented 1 year ago

Did you follow the link I shared for documentation on how to use the fields in Tableau? In this case, the X stands for one of the 4 calculation types, IE MODEL_EXTENSION_INT for returning an integer type from your model.