Azure / Azure/azure-sdk-tools

[Python APIView] apiview types using docstring syntax

Open
#7,107 1 comment 0 reactions 1 assignee Assigned to @swathipil View on GitHub
APIView Central-EngSys Python
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
130

Description

After updating our docstring, the SB APIView has been updated to the following: https://apiview.dev/Assemblies/Review/fb319de65d2b4eca86b215c62d0cbe7b?diffRevisionId=072a63913c624389be54ddc5485bf7f9&diffOnly=False&revisionId=e508d65ecff04b5d9645aeb0e838baee&doc=False#af4e12cceb2d4a11bfdb6f747a40223e

However, we expect it to look like:
```
data_body: Union[str, bytes, List[Union[str, bytes]]],
sequence_body: List[Any],
value_body: Any
```

The corresponding docstring looks like this: https://github.com/Azure/azure-sdk-for-python/blob/625408b80b099c75bb633c9cf5df648fbce8503b/sdk/servicebus/azure-servicebus/azure/servicebus/amqp/_amqp_message.py#L90

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.