Use actual return type in annotation for method submodule_update by extrwi · Pull Request #2078 · gitpython-developers/GitPython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@extrwi

Copy link

@extrwi extrwi commented

Oct 21, 2025

Fixes #2077 "Return type mismatch in repo.submodule_update()"

Copy link

Member

@Byron Byron left a comment

Choose a reason for hiding this comment

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

It really does seem that it returns a RootModule 😁.
Let's try that.

@Byron Byron merged commit 271328f into gitpython-developers:main

Oct 21, 2025

27 checks passed

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

Reviewers

@Byron Byron Byron approved these changes

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Return type mismatch in repo.submodule_update()

3 participants

@extrwi @Byron @mtdcr