Tableau Server Client (TSC)
中views.get_by_id
的用法。
用法
views.get_by_id(view_id)
返回特定視圖的詳細信息。
REST API:Get View
版本
此端點適用於 REST API 版本 3.1 及更高版本。
參數
名字 | 說明 |
---|---|
view_id |
要檢索的視圖的 ID。 |
返回
返回單個 ViewItem
對象。
示例
import tableauserverclient as TSC
tableau_auth = TSC.TableauAuth('username', 'password')
server = TSC.Server('https://servername')
with server.auth.sign_in(tableau_auth):
view = server.view.get_by_id('d79634e1-6063-4ec9-95ff-50acbf609ff5')
print(view.name)
相關用法
- Python Tableau views.get用法及代碼示例
- Python Tableau views.populate_csv用法及代碼示例
- Python Tableau views.populate_pdf用法及代碼示例
- Python Tableau views.populate_preview_image用法及代碼示例
- Python Tableau views.populate_image用法及代碼示例
- Python statistics variance()用法及代碼示例
- Python venv.EnvBuilder.create用法及代碼示例
- Python vars()用法及代碼示例
- Python cudf.core.column.string.StringMethods.is_vowel用法及代碼示例
- Python torch.distributed.rpc.rpc_async用法及代碼示例
- Python torch.nn.InstanceNorm3d用法及代碼示例
- Python sklearn.cluster.MiniBatchKMeans用法及代碼示例
- Python pandas.arrays.IntervalArray.is_empty用法及代碼示例
- Python tf.compat.v1.distributions.Multinomial.stddev用法及代碼示例
- Python numpy.less()用法及代碼示例
- Python Matplotlib.figure.Figure.add_gridspec()用法及代碼示例
- Python tf.compat.v1.distribute.MirroredStrategy.experimental_distribute_dataset用法及代碼示例
- Python Sympy Permutation.list()用法及代碼示例
- Python dask.dataframe.Series.apply用法及代碼示例
- Python networkx.algorithms.shortest_paths.weighted.all_pairs_dijkstra_path用法及代碼示例
- Python scipy.ndimage.binary_opening用法及代碼示例
- Python pyspark.pandas.Series.dropna用法及代碼示例
- Python torchaudio.transforms.Fade用法及代碼示例
- Python dask.dataframe.to_records用法及代碼示例
- Python arcgis.gis._impl._profile.ProfileManager.save_as用法及代碼示例
注:本文由純淨天空篩選整理自tableau.github.io大神的英文原創作品 views.get_by_id。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。