diff --git a/generators/python/core_utilities/shared/file.py b/generators/python/core_utilities/shared/file.py index bdabd4e5b00..d99e2515390 100644 --- a/generators/python/core_utilities/shared/file.py +++ b/generators/python/core_utilities/shared/file.py @@ -42,7 +42,10 @@ def convert_file_dict_to_httpx_tuples( def with_content_type(*, file: File, default_content_type: str) -> File: - """ """ + """ + This function resolves to the file's content type, if provided, and defaults + to the default_content_type value if not. + """ if isinstance(file, tuple): if len(file) == 2: filename, content = cast(Tuple[Optional[str], FileContent], file) # type: ignore