Local SSAS Server#
Bases: BaseServer
A Server running locally on the user's machine.
This subclass has the ability to load/dump Tabular Models to a PBIX file. Also creates a background SSAS instance and workspace to handle processing if none is provided.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
kill_on_exit
|
bool
|
Indicates if the background SSAS instance handling processing should be terminated at the end of the python session |
True
|
Source code in pbi_core/ssas/server/server.py
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 |
|
physical_process
instance-attribute
#
A Python class handling the lifetime of the SSAS Instance. Interacts with the SSAS instance only as a process
load_pbix #
Takes a Path to a PBIX report and loads the PBIX Datamodel to the SSAS instance in the SSASProcess.
Raises:
Type | Description |
---|---|
FileNotFoundError
|
when the path to the PBIX file does not exist |
AdomdErrorResponseException
|
Occurs when the DB already exists |