Azure / Azure/azure-sdk-tools

[Python APIView] ForwardRef being added to TypedDict

Open
#7,274 1 comment 1 reaction 2 assignees Assigned to @swathipil View on GitHub
APIView Python
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
144

Description

The following APIView diff is being created off of [[this PR to generate Schema Registry with typespec](https://github.com/Azure/azure-sdk-for-python/pull/31475/files#diff-c539a53e0f434d80f51f39b0b610db9208e89cd44830db7650c8ea8024f77955)]: https://apiview.dev/Assemblies/Review/79dbf3282c51418e8038af11a837431e?diffRevisionId=8b516ccdb151447eb968b05987eb556a&diffOnly=False&revisionId=385d46de532d4ebd84815b9ab18d80e9&doc=False

Behavior: A ForwardRef has been added to the MessageContent TypedDict, even though it's not annotated that way in the patch file [[here](https://github.com/Azure/azure-sdk-for-python/blob/ac88f0090dd7703abd02161505ab6ce8af320b7c/sdk/schemaregistry/azure-schemaregistry/azure/schemaregistry/_patch.py#L480)].

Expected behavior: ForwardRef is not added to the MessageContent keys.

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.