Upload slot allocation and finalize

Code reviewMedium16 min

Your task

Review this Python function that allocates a temp upload slot, writes parts, then finalizes.