Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mypy fails when an outer-inner classes have the same name #511

Closed
tefra opened this issue Jun 3, 2021 · 0 comments · Fixed by #512
Closed

Mypy fails when an outer-inner classes have the same name #511

tefra opened this issue Jun 3, 2021 · 0 comments · Fixed by #512

Comments

@tefra
Copy link
Owner

tefra commented Jun 3, 2021

Although it's a bug in mypy I think we should also take care of that as it makes working with those classes pretty awkward

see autosar sample: CompuScales.CompuScales, TargetIPduRef.TargetIPduRef

class Foo:

    foo: "Foo.Foo"

    class Foo:
        pass
tefra added a commit that referenced this issue Jun 4, 2021
@tefra tefra closed this as completed in #512 Jun 4, 2021
tefra added a commit that referenced this issue Jun 4, 2021
tefra added a commit to tefra/xsdata-samples that referenced this issue Jun 4, 2021
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 a pull request may close this issue.

1 participant