File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3857,8 +3857,8 @@ async def files_upload_v2(
38573857 thread_ts = thread_ts ,
38583858 ** kwargs ,
38593859 )
3860- if len (completion .get ("files" )) == 1 : # type: ignore[arg-type]
3861- completion .data ["file" ] = completion .get ("files" )[0 ] # type: ignore[index]
3860+ if len (completion .get ("files" )) == 1 : # type: ignore[arg-type, union-attr, unused-ignore ]
3861+ completion .data ["file" ] = completion .get ("files" )[0 ] # type: ignore[index, union-attr, unused-ignore ]
38623862 return completion
38633863
38643864 async def files_getUploadURLExternal (
Original file line number Diff line number Diff line change @@ -3848,8 +3848,8 @@ def files_upload_v2(
38483848 thread_ts = thread_ts ,
38493849 ** kwargs ,
38503850 )
3851- if len (completion .get ("files" )) == 1 : # type: ignore[arg-type]
3852- completion .data ["file" ] = completion .get ("files" )[0 ] # type: ignore[index]
3851+ if len (completion .get ("files" )) == 1 : # type: ignore[arg-type, union-attr, unused-ignore ]
3852+ completion .data ["file" ] = completion .get ("files" )[0 ] # type: ignore[index, union-attr, unused-ignore ]
38533853 return completion
38543854
38553855 def files_getUploadURLExternal (
Original file line number Diff line number Diff line change @@ -3859,8 +3859,8 @@ def files_upload_v2(
38593859 thread_ts = thread_ts ,
38603860 ** kwargs ,
38613861 )
3862- if len (completion .get ("files" )) == 1 : # type: ignore[arg-type]
3863- completion .data ["file" ] = completion .get ("files" )[0 ] # type: ignore[index]
3862+ if len (completion .get ("files" )) == 1 : # type: ignore[arg-type, union-attr, unused-ignore ]
3863+ completion .data ["file" ] = completion .get ("files" )[0 ] # type: ignore[index, union-attr, unused-ignore ]
38643864 return completion
38653865
38663866 def files_getUploadURLExternal (
You can’t perform that action at this time.
0 commit comments