Skip to content

Fix rasterio rowcol operation return type - #16352

Open
ryux1 wants to merge 1 commit into
python:mainfrom
ryux1:ryux1/rasterio-rowcol-op-return
Open

Fix rasterio rowcol operation return type#16352
ryux1 wants to merge 1 commit into
python:mainfrom
ryux1:ryux1/rasterio-rowcol-op-return

Conversation

@ryux1

@ryux1 ryux1 commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Closes #16342.

Preserve the default integer result while propagating a custom operation's return type through rowcol and index.

Agent used: OpenAI Codex.

@github-actions

This comment has been minimized.

Comment thread stubs/rasterio/rasterio/transform.pyi Outdated
@ryux1
ryux1 force-pushed the ryux1/rasterio-rowcol-op-return branch from 364da14 to afdb012 Compare September 6, 2026 04:27
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[rasterio] transform.rowcol return typing possibly incorrect?

2 participants