Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ErezAmihud
Copy link

Closes #8122
The issue was that the code checking if the needed import is in the same file was checked with the filename with a dot at the start that is added a few lines before it, causing it to never be true.

See line 2094 - const std::string local_import = "." + mod;

The variable import_entry.first is filename while the local_import equals to .filename.

@google-cla
Copy link

google-cla bot commented Nov 1, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot added python c++ codegen Involving generating code from schema labels Nov 1, 2023
@fliiiix
Copy link
Contributor

fliiiix commented Jul 15, 2024

@dbaileychess & @anton-bobukh i think this should be merged

@github-actions
Copy link
Contributor

This pull request is stale because it has been open 6 months with no activity. Please comment or label not-stale, or this will be closed in 14 days.

@github-actions github-actions bot added the stale label Jan 13, 2025
@github-actions
Copy link
Contributor

This pull request was automatically closed due to no activity for 6 months plus the 14 day notice period.

@github-actions github-actions bot closed this Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ codegen Involving generating code from schema python stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

python typing recursive import [python, 23.5.26]

2 participants