importing
superduper.misc.importing
isreallyinstance
​
isreallyinstance(this,
cls)
Parameter | Description |
---|---|
this | The component to check. |
cls | The class to check. |
Check if the component is an instance of a class.
isreallysubclass
​
isreallysubclass(this,
cls)
Parameter | Description |
---|---|
this | The component to check. |
cls | The class to check. |
Check if the component is an instance of a class.
import_object
​
import_object(path)
Parameter | Description |
---|---|
path | Path to import from. |
Import item from path.
load_plugin
​
load_plugin(name: str)
Parameter | Description |
---|---|
name | The name of the plugin to load. |
Load a plugin by name.