OpenShot Video Editor
2.0.0
|
A data structure representing a single update manager action, including any necessary data to reverse the action. More...
Public Member Functions | |
def | __init__ |
def | json |
Get the JSON string representing this UpdateAction. More... | |
def | load_json |
Load this UpdateAction from a JSON string. More... | |
def | set_old_values |
Public Attributes | |
key | |
old_values | |
partial_update | |
type | |
values | |
A data structure representing a single update manager action, including any necessary data to reverse the action.
Definition at line 63 of file updates.py.
def updates.UpdateAction.__init__ | ( | self, | |
type = None , |
|||
key = [] , |
|||
values = None , |
|||
partial_update = False |
|||
) |
Definition at line 65 of file updates.py.
def updates.UpdateAction.json | ( | self, | |
is_array = False , |
|||
only_value = False |
|||
) |
Get the JSON string representing this UpdateAction.
Definition at line 77 of file updates.py.
def updates.UpdateAction.load_json | ( | self, | |
value | |||
) |
Load this UpdateAction from a JSON string.
Definition at line 101 of file updates.py.
def updates.UpdateAction.set_old_values | ( | self, | |
old_vals | |||
) |
Definition at line 72 of file updates.py.
updates.UpdateAction.key |
Definition at line 67 of file updates.py.
updates.UpdateAction.old_values |
Definition at line 69 of file updates.py.
updates.UpdateAction.partial_update |
Definition at line 70 of file updates.py.
updates.UpdateAction.type |
Definition at line 66 of file updates.py.
updates.UpdateAction.values |
Definition at line 68 of file updates.py.