77
88# Import local modules
99from photoshop .api .action_descriptor import ActionDescriptor as AD_proto
10- from photoshop .api .action_manager ._main_types .action_descriptor import ActionDescriptor as AD_utils_proto
1110from photoshop .api .action_list import ActionList as AL_proto
12- from photoshop .api .action_manager ._main_types .action_list import ActionList as AL_utils_proto
11+ from photoshop .api .action_manager ._main_types .action_descriptor import (
12+ ActionDescriptor as AD_utils_proto ,
13+ )
14+ from photoshop .api .action_manager ._main_types .action_list import (
15+ ActionList as AL_utils_proto ,
16+ )
17+ from photoshop .api .action_manager ._main_types .action_reference import (
18+ ActionReference as AR_utils_proto ,
19+ )
1320from photoshop .api .action_reference import ActionReference as AR_proto
14- from photoshop .api .action_manager ._main_types .action_reference import ActionReference as AR_utils_proto
1521from photoshop .api .enumerations import DescValueType
1622from photoshop .api .enumerations import ReferenceFormType
1723
1824
1925class ActionDescriptor (AD_proto , AD_utils_proto ):
2026 @classmethod
21- def load (cls , adict : dict ) -> ' ActionDescriptor' :
22- ''' Convert a python object to an ActionDescriptor'''
27+ def load (cls , adict : dict ) -> " ActionDescriptor" :
28+ """ Convert a python object to an ActionDescriptor"""
2329 return super ().load (adict , globals ())
2430
2531 def __init__ (self , parent = None , classID = None ):
@@ -45,8 +51,8 @@ def getReference(self, key: int) -> "ActionReference":
4551
4652class ActionList (AL_proto , AL_utils_proto ):
4753 @classmethod
48- def load (cls , alist : list ) -> ' ActionList' :
49- ''' Convert a python object to an ActionList'''
54+ def load (cls , alist : list ) -> " ActionList" :
55+ """ Convert a python object to an ActionList"""
5056 return super ().load (alist , globals ())
5157
5258 def getType (self , index : int ) -> DescValueType :
@@ -68,8 +74,8 @@ def getReference(self, index: int) -> "ActionReference":
6874
6975class ActionReference (AR_proto , AR_utils_proto ):
7076 @classmethod
71- def load (cls , adict : dict ) -> ' ActionReference' :
72- ''' Convert a python object to an ActionReference'''
77+ def load (cls , adict : dict ) -> " ActionReference" :
78+ """ Convert a python object to an ActionReference"""
7379 return super ().load (adict )
7480
7581 def getForm (self ) -> ReferenceFormType :
0 commit comments