chore: format
This commit is contained in:
1 parent
f71e9570c0
commit
5c62cc0517
99 files changed
+12026
-5908
No files matched your search
@@ -339,10 +339,7 @@ async def delegate(
|
||||
for file in metadata.get('files') or []
|
||||
if str(file.get('id') or '') in requested_file_ids
|
||||
or str(file.get('url') or '') in requested_file_ids
|
||||
or (
|
||||
isinstance(file.get('file'), dict)
|
||||
and str(file.get('file', {}).get('id') or '') in requested_file_ids
|
||||
)
|
||||
or (isinstance(file.get('file'), dict) and str(file.get('file', {}).get('id') or '') in requested_file_ids)
|
||||
]
|
||||
found_file_ids = {
|
||||
str(value)
|
||||
|
||||
Reference in new issue
Block a user