chore: Remove unnecessary comments about multipart data
This commit is contained in:
parent
2ae12664e5
commit
60a38d30eb
|
@ -97,20 +97,12 @@ def main():
|
||||||
if not isinstance(part_element, dict):
|
if not isinstance(part_element, dict):
|
||||||
continue # Skip if part_element is not a dict
|
continue # Skip if part_element is not a dict
|
||||||
|
|
||||||
# Save 'key' and 'file' values to variables
|
|
||||||
# These variables will be overwritten in each iteration
|
|
||||||
# if multiple parts exist.
|
|
||||||
part_key = part_element.get('key')
|
part_key = part_element.get('key')
|
||||||
part_file = part_element.get('file')
|
part_file = part_element.get('file')
|
||||||
|
|
||||||
if part_key is not None:
|
if part_key is not None:
|
||||||
names[part_key] = part_file
|
names[part_key] = part_file
|
||||||
|
|
||||||
# At this point, part_key and part_file are available.
|
|
||||||
# The user has not specified what to do with them yet.
|
|
||||||
# For example, to print them:
|
|
||||||
# if part_key and part_file:
|
|
||||||
# print(f"Found part: key='{part_key}', file='{part_file}'")
|
|
||||||
|
|
||||||
|
|
||||||
print("\nProcessed data (truncated values):")
|
print("\nProcessed data (truncated values):")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user