@@ -42,6 +42,9 @@ class DatasourceItem:
42
42
specified, it will default to SiteDefault. See REST API Publish
43
43
Datasource for more information about ask_data_enablement.
44
44
45
+ connected_workbooks_count : Optional[int]
46
+ The number of workbooks connected to the datasource.
47
+
45
48
connections : list[ConnectionItem]
46
49
The list of data connections (ConnectionItem) for the specified data
47
50
source. You must first call the populate_connections method to access
@@ -69,6 +72,12 @@ class DatasourceItem:
69
72
A Boolean value to determine if a datasource should be encrypted or not.
70
73
See Extract and Encryption Methods for more information.
71
74
75
+ favorites_total : Optional[int]
76
+ The number of users who have marked the data source as a favorite.
77
+
78
+ has_alert : Optional[bool]
79
+ A Boolean value that indicates whether the data source has an alert.
80
+
72
81
has_extracts : Optional[bool]
73
82
A Boolean value that indicates whether the datasource has extracts.
74
83
@@ -77,20 +86,32 @@ class DatasourceItem:
77
86
specific data source or to delete a data source with the get_by_id and
78
87
delete methods.
79
88
89
+ is_published : Optional[bool]
90
+ A Boolean value that indicates whether the data source is published.
91
+
80
92
name : Optional[str]
81
93
The name of the data source. If not specified, the name of the published
82
94
data source file is used.
83
95
96
+ owner: Optional[UserItem]
97
+ The owner of the data source.
98
+
84
99
owner_id : Optional[str]
85
100
The identifier of the owner of the data source.
86
101
102
+ project : Optional[ProjectItem]
103
+ The project that the data source belongs to.
104
+
87
105
project_id : Optional[str]
88
106
The identifier of the project associated with the data source. You must
89
107
provide this identifier when you create an instance of a DatasourceItem.
90
108
91
109
project_name : Optional[str]
92
110
The name of the project associated with the data source.
93
111
112
+ server_name : Optional[str]
113
+ The name of the server where the data source is published.
114
+
94
115
tags : Optional[set[str]]
95
116
The tags (list of strings) that have been added to the data source.
96
117
0 commit comments