Skip to content

Commit d96c96e

Browse files
author
Saurabh Badenkal
committed
Standardize dict[str, typing.Any] in docstring guidelines
Address PR review: use typing.Any consistently in rules bullet to match the examples and actual docstrings.
1 parent 48dcb72 commit d96c96e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.claude/skills/dataverse-sdk-dev/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ This SDK's API reference is published on Microsoft Learn. The Learn doc pipeline
6161

6262
**Rules for `:type:` and `:rtype:` directives:**
6363

64-
- Use Python bracket notation for generic types: `list[str]`, `dict[str, Any]`, `list[dict]`
64+
- Use Python bracket notation for generic types: `list[str]`, `dict[str, typing.Any]`, `list[dict]`
6565
- Use `or` (without `:class:`) for union types: `str or None`, `dict or list[dict]`
6666
- Use bracket nesting for complex types: `collections.abc.Iterable[list[dict]]`
6767
- Use `~` prefix for SDK types to show short name: `list[~PowerPlatform.Dataverse.models.record.Record]`

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ This SDK's API reference is published on [Microsoft Learn](https://learn.microso
129129

130130
**Rules for `:type:` and `:rtype:` directives:**
131131

132-
- Use **Python bracket notation** for generic types: `list[str]`, `dict[str, Any]`, `list[dict]`
132+
- Use **Python bracket notation** for generic types: `list[str]`, `dict[str, typing.Any]`, `list[dict]`
133133
- Use **`or`** (without `:class:`) for union types: `str or None`, `dict or list[dict]`
134134
- Use **bracket nesting** for complex types: `collections.abc.Iterable[list[dict]]`
135135
- `:class:` is fine for **single standalone types**: `:class:`str``, `:class:`bool``

src/PowerPlatform/Dataverse/claude_skill/dataverse-sdk-dev/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This SDK's API reference is published on Microsoft Learn. The Learn doc pipeline
3535

3636
**Rules for `:type:` and `:rtype:` directives:**
3737

38-
- Use Python bracket notation for generic types: `list[str]`, `dict[str, Any]`, `list[dict]`
38+
- Use Python bracket notation for generic types: `list[str]`, `dict[str, typing.Any]`, `list[dict]`
3939
- Use `or` (without `:class:`) for union types: `str or None`, `dict or list[dict]`
4040
- Use bracket nesting for complex types: `collections.abc.Iterable[list[dict]]`
4141
- Use `~` prefix for SDK types to show short name: `list[~PowerPlatform.Dataverse.models.record.Record]`

0 commit comments

Comments
 (0)