-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Describe the bug
Declarations in the safeds package or any subpackage are always available. If explicit imports are missing, however, no imports are created in the Python code. This also leads to failures in the runner: "name 'Table' is not defined".
To Reproduce
Safe-DS:
package test
pipeline myPipeline {
val table = Table.fromColumns([]);
}
Python:
# Pipelines --------------------------------------------------------------------
def myPipeline():
table = Table.from_columns([])Expected behavior
The following code should be created:
# Imports ----------------------------------------------------------------------
from safeds.data.tabular.containers import Table
# Pipelines --------------------------------------------------------------------
def myPipeline():
table = Table.from_columns([])Screenshots (optional)
No response
Additional Context (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
releasedIncluded in a releaseIncluded in a release
Type
Projects
Status
✔️ Done