Skip to content

Trame greatly increases loading time #162

@AlejandroFernandezLuces

Description

@AlejandroFernandezLuces

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

Loading trame greatly increases the amount of time that the library or any of its consumers takes to load. See ansys/pymapdl#3460 (comment) . We can fix this by:

  • Optionally importing trame or not.
  • Making lazy imports for trame related functionality.

📝 Steps to reproduce

Import the library

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

No response

🐍 Which Python version are you using?

3.10

📦 Installed packages

n/a

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions