แชร์ผ่าน


PowerBIRestClient Class

REST client to access PowerBI REST endpoints. Authentication tokens are automatically acquired from the execution environment.

Experimental: This class is experimental and may change in future versions.

Inheritance
sempy.fabric._client._rest_client.BaseRestClient
PowerBIRestClient

Constructor

PowerBIRestClient(token_provider: TokenProvider | None = None)

Parameters

Name Description
token_provider
<xref:sempy.fabric.TokenProvider>

Implementation of TokenProvider that can provide auth token for access to the PowerBI workspace. Will attempt to acquire token from its execution environment if not provided.

Default value: None