77
88from azure .core .credentials import TokenCredential
99
10- from .core ._auth import AuthManager
10+ from .core ._auth import _AuthManager
1111from .core .config import DataverseConfig
12- from .data ._odata import ODataClient
12+ from .data ._odata import _ODataClient
1313
1414
1515class DataverseClient :
@@ -18,7 +18,7 @@ class DataverseClient:
1818
1919 This client provides a simple, stable interface for interacting with Dataverse environments
2020 through the Web API. It handles authentication via Azure Identity and delegates HTTP operations
21- to an internal :class:`~PowerPlatform.Dataverse.data._odata.ODataClient `.
21+ to an internal :class:`~PowerPlatform.Dataverse.data._odata._ODataClient `.
2222
2323 Key capabilities:
2424 - OData CRUD operations: create, read, update, delete records
@@ -74,25 +74,25 @@ def __init__(
7474 credential : TokenCredential ,
7575 config : Optional [DataverseConfig ] = None ,
7676 ) -> None :
77- self .auth = AuthManager (credential )
77+ self .auth = _AuthManager (credential )
7878 self ._base_url = (base_url or "" ).rstrip ("/" )
7979 if not self ._base_url :
8080 raise ValueError ("base_url is required." )
8181 self ._config = config or DataverseConfig .from_env ()
82- self ._odata : Optional [ODataClient ] = None
82+ self ._odata : Optional [_ODataClient ] = None
8383
84- def _get_odata (self ) -> ODataClient :
84+ def _get_odata (self ) -> _ODataClient :
8585 """
8686 Get or create the internal OData client instance.
8787
8888 This method implements lazy initialization of the low-level OData client,
8989 deferring construction until the first API call.
9090
9191 :return: The lazily-initialized low-level client used to perform HTTP requests.
92- :rtype: ~PowerPlatform.Dataverse.data._odata.ODataClient
92+ :rtype: ~PowerPlatform.Dataverse.data._odata._ODataClient
9393 """
9494 if self ._odata is None :
95- self ._odata = ODataClient (
95+ self ._odata = _ODataClient (
9696 self .auth ,
9797 self ._base_url ,
9898 self ._config ,
0 commit comments