black format
This commit is contained in:
+8
-5
@@ -1,12 +1,15 @@
|
||||
|
||||
|
||||
from bpy.types import PropertyGroup
|
||||
|
||||
|
||||
class Adapter(PropertyGroup):
|
||||
|
||||
#def __init__(self):
|
||||
# def __init__(self):
|
||||
name = "Base Adapter"
|
||||
#library = None
|
||||
|
||||
# library = None
|
||||
def to_dict(self):
|
||||
return {p: getattr(self, p) for p in self.bl_rna.properties.keys() if p !='rna_type'}
|
||||
return {
|
||||
p: getattr(self, p)
|
||||
for p in self.bl_rna.properties.keys()
|
||||
if p != "rna_type"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user