Azure / Azure/azure-sdk-for-python

azure-ai-contentsafety needs typing updates for pyright version 1.1.411

Open
#39,132 1 comment 0 reactions 1 assignee Claimed by @mengaims View on GitHub
Cognitive - Content Safety pyright Service Attention
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

**ACTION NEEDED:** This version of pyright will be merged on **2026-10-12**. The build will begin to fail for this library if errors are not fixed.

**Library name:** azure-ai-contentsafety
**Pyright version:** 1.1.411
**Pyright Build:** [Link to build (2026-07-25)](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6616789&view=logs&j=e5b925a9-9650-5321-24fd-5d9499fe02b8&t=d243185e-b901-5eef-29fe-f7943e030451)
**How to fix:** Run the `next-pyright` azpysdk command at the library package-level and resolve the typing errors.
1) `/mnt/vss/_work/1/s>pip install -e ./eng/tools/azure-sdk-tools`
2) `../azure-ai-contentsafety>azpysdk next-pyright --isolate .`

See the [Typing Guide](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/static_type_checking.md#run-mypy) for more information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.