Skip to content

Relative Import in stubs from GeneratedPy #1

Description

@nlgio

if PythonGenerate should generate relative imports, there must be a default package to avoid those "Attempted relative import with no known parent package" errors. The current setting is "MiddleKit.Tests.WorkDir" which fulfills the needs of the included test suite. As far as i see this could only be an issue when theres no package declaration, which is against the officially recommended way of using.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions