footprint() returns all modules that provide a data package instead of only the active modules of the current project · Issue #630 · dlr-gtlab/python-module · GitHub
Skip to content

footprint() returns all modules that provide a data package instead of only the active modules of the current project #630

Description

@marvinoe21

When calling footprint() in the Python console, it currently returns a map of all modules that provide a data package. However, the docstring states that it should return a map of all modules that are part of the data model of the current project.

Additionally, in my opinion, the default behavior of the function should be swapped. Currently, the default value of the parameter only_active is True, so calling footprint() without any arguments returns the project footprint. In GTLab, the term footprint typically refers to the application footprint, so it would make more sense if the default behavior returns the application footprint and calling footprint(True) returns the project footprint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions