Azure / Azure/azure-sdk-for-python

azure-ai-translation can't handle Azure Data Factory Pipeline Status correctly.

Offen
#44,335 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Client customer-reported Data Factory needs-team-attention question Service Attention
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
213

Beschreibung

**Describe the bug**
[neither ll=true or false correctly handles Azure Data Factory.](https://github.com/Azure/azure-sdk-for-python/blob/2afb5e25560dae64bb743c5d7bfc5a103533793b/sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/_patch.py#L72)

the allowed pipeline status of Azure Data Factory are:
The status of a pipeline run. Possible values: Queued, InProgress, Succeeded, Failed, Canceling, Cancelled."

with Canceling (one 'L') and Cancelled (two 'L') being allowed values, this module is unable to correctly integration with azure data factory, as neither 'true' or 'false' will produce correct values, always breaking one of them.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne in sdk/translation/azure-ai-translation-document/azure/ai/translation/document/_operations/_patch.py ungefähr bei Zeile 72, wo das Issue die Behandlung des Pipeline-Status identifiziert. Vergleiche die Integration mit den zulässigen Statuswerten von Azure Data Factory; fertig bedeutet, dass sowohl Canceling als auch Cancelled korrekt behandelt werden, ohne eine der beiden Schreibweisen zu beeinträchtigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, python
Bereich
api, backend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

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