Skip to content

Commit efb2589

Browse files
tpellissierclaude
andcommitted
Address Copilot review: remove explicit return None, fix mime_type docstring
- Remove unnecessary `return None` from upload() to match other operations - Fix docstring: mime_type defaults to application/octet-stream, not inferred Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fbfdeda commit efb2589

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/PowerPlatform/Dataverse/operations

src/PowerPlatform/Dataverse/operations/files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def upload(
6767
file size.
6868
:type mode: :class:`str` or None
6969
:param mime_type: Explicit MIME type to store with the file (e.g.
70-
``"application/pdf"``). If not provided, the MIME type may be
71-
inferred from the file extension.
70+
``"application/pdf"``). If not provided, defaults to
71+
``"application/octet-stream"``.
7272
:type mime_type: :class:`str` or None
7373
:param if_none_match: When True (default), sends
7474
``If-None-Match: null`` header to only succeed if the column is

0 commit comments

Comments
 (0)