Skip to content

Conversation

@mixilchenko
Copy link
Contributor

Problem: Iterating through ObjectStoragePath raises TypeError: '_io.TextIOWrapper' object is not subscriptable

This is happening because _TrackingFileWrapper implements __getitem__ which is used by python iteration logic if there is no explicit __iter__ method.

@mixilchenko mixilchenko force-pushed the object-storage-path-lines-iteration branch 2 times, most recently from 31c172a to cafa725 Compare October 24, 2025 06:40
@amoghrajesh
Copy link
Contributor

cc @bolkedebruin your forte :)

@mixilchenko mixilchenko force-pushed the object-storage-path-lines-iteration branch from cafa725 to defa9d3 Compare October 25, 2025 09:33
Copy link
Contributor

@bolkedebruin bolkedebruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bolkedebruin bolkedebruin merged commit 4962b35 into apache:main Oct 26, 2025
80 checks passed
@kaxil kaxil added this to the Airflow 3.1.2 milestone Oct 26, 2025
kaxil pushed a commit that referenced this pull request Oct 31, 2025
kaxil pushed a commit that referenced this pull request Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants