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.
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_activeisTrue, so callingfootprint()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 callingfootprint(True)returns the project footprint.