Azure / Azure/azure-sdk-for-python

Azure ML - AIO implementation of OBO credential uses an undefined class attribute causing token acquiral to fail

Offen
#40,076 4 Kommentare 0 Reaktionen 2 zugewiesene Personen Beansprucht von @achauhan-scc Auf GitHub ansehen
customer-reported feature-request Machine Learning needs-team-attention Service Attention
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
213

Beschreibung

- **Package Name**: azure-ai-ml
- **Package Version**: 1.26.0
- **Operating System**: Ubuntu
- **Python Version**: python 3.11

**Describe the bug**
[_identity_config is not defined anywhere in the parent/child classes](https://github.com/Azure/azure-sdk-for-python/blob/1f7312f040269e1d0a31d463f93b0251c80cd4c2/sdk/ml/azure-ai-ml/azure/ai/ml/identity/_aio/_internal/managed_identity_client.py#L31)

**To Reproduce**
Steps to reproduce the behavior:
1. Instantiate the `AzureMLOnBehalfOfCredential` class
2. Attempt to retrieve a token as part of an aio pipeline
3. Raises `AttributeError: object 'AsyncManagedIdentityClient' has no attribute '_identity_config'

**Expected behavior**
Acquiring an OBO token via an aio event loop is possible. As it stands the OBO AIO credential class cannot be used to perform any read/write operations that leverage an fsspec implementation (since this uses aio).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.