interface - Systems
This topic discusses the Systems feature provided by the PLANTA link API.
Classes
System
Methods
Function | Parameters | Return Value | Description |
|---|---|---|---|
System.__eq__ | other: Another |
| Check whether a system is equal to another |
System.__hash__ | Integer | Returns a hash based on UUID | |
System.__init__ | system_id: UUID | Instance | Initialize a new |
System.create_conditional | classname: Prüfklasse | Creates a new system conditional and saves it to the database. If the system could not be created, a | |
System.delete | Delete this system |
Classmethods
Function | Parameters | Return Value | Description |
|---|---|---|---|
System.create | creation_parameters: Any python id from table 568 that should have a custom value | An instance of the newly created system. The class is based on the class that | Create a new system record. If the system could not be created a |
System.get_active_system |
| Get the currently active | |
System.get_active_system_id | UUID or | Retrieve the UUID of the currently active system |
Staticmethods
Function | Parameters | Return Value | Description |
|---|---|---|---|
System.get_all_system_ids | A list of UUID | Fetches the UUID of all systems stored in the database |
Properties
Property | Getter | Setter | Description |
|---|---|---|---|
System.is_active |
|
| Returns |
RegtestSystem
Methods
Function | Parameters | Return Value | Description |
|---|---|---|---|
RegtestSystem.__enter__ |
| Enter the context | |
RegtestSystem.__exit__ | exc_details: Exception details | Leave the context, deleting the |