The general_methods.py
module#
Summary#
Issues deprecation warnings for arguments. |
|
Check if graphics are available. |
|
Decorate a method as requiring graphics. |
Description#
General methods and helpers collection.
this includes decorator and methods
Module detail#
- general_methods.deprecate_kwargs(old_arguments, removed_version='0.3.0')#
Issues deprecation warnings for arguments.
- general_methods.run_if_graphics_required(warning=False)#
Check if graphics are available.
- general_methods.graphics_required(method)#
Decorate a method as requiring graphics.
- Parameters:
- method
callable()
Method to decorate.
- method
- Returns:
callable()
Decorated method.
- general_methods.GRAPHICS_ERROR = "Preview unsupported without 'ansys-tools-visualization_interface' installed. You can install...#