black formatting
This commit is contained in:
@@ -7,14 +7,13 @@ from Base.BaseClass import BaseClass
|
||||
from Base.Metadata import constmethod
|
||||
from typing import Final, List, Any
|
||||
|
||||
|
||||
@export(
|
||||
Twin="Array2D",
|
||||
TwinPointer="Array2D",
|
||||
Namespace="Materials",
|
||||
Include="Mod/Material/App/MaterialValue.h",
|
||||
Delete=True,
|
||||
Constructor=True
|
||||
Constructor=True,
|
||||
)
|
||||
class Array2D(BaseClass):
|
||||
"""
|
||||
|
||||
@@ -6,14 +6,13 @@ from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Any, Final, List
|
||||
|
||||
|
||||
@export(
|
||||
Twin="Array3D",
|
||||
TwinPointer="Array3D",
|
||||
Namespace="Materials",
|
||||
Include="Mod/Material/App/MaterialValue.h",
|
||||
Delete=True,
|
||||
Constructor=True
|
||||
Constructor=True,
|
||||
)
|
||||
class Array3D(BaseClass):
|
||||
"""
|
||||
|
||||
@@ -6,7 +6,6 @@ from Base.Metadata import export, no_args, sequence_protocol
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final, Dict
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Material/App/Materials.h",
|
||||
Namespace="Materials",
|
||||
|
||||
@@ -6,7 +6,6 @@ from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import List
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Material/App/MaterialFilter.h",
|
||||
Namespace="Materials",
|
||||
@@ -28,4 +27,4 @@ class MaterialFilter(BaseClass):
|
||||
"""Materials must include the specified models."""
|
||||
|
||||
RequiredCompleteModels: List = ...
|
||||
"""Materials must have complete versions of the specified models."""
|
||||
"""Materials must have complete versions of the specified models."""
|
||||
|
||||
@@ -5,8 +5,12 @@ from __future__ import annotations
|
||||
from Base.Metadata import export
|
||||
from Base.BaseClass import BaseClass
|
||||
|
||||
|
||||
@export(Include="Mod/Material/App/MaterialFilter.h", Namespace="Materials", Constructor=True, Delete=True)
|
||||
@export(
|
||||
Include="Mod/Material/App/MaterialFilter.h",
|
||||
Namespace="Materials",
|
||||
Constructor=True,
|
||||
Delete=True,
|
||||
)
|
||||
class MaterialFilterOptions(BaseClass):
|
||||
"""
|
||||
Material filtering options.
|
||||
|
||||
@@ -6,7 +6,6 @@ from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Material/App/MaterialLibrary.h",
|
||||
Namespace="Materials",
|
||||
|
||||
@@ -6,12 +6,11 @@ from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final, List, Dict, overload
|
||||
|
||||
|
||||
@export(Include="Mod/Material/App/MaterialManager.h", Namespace="Materials", Constructor=True)
|
||||
class MaterialManager(BaseClass):
|
||||
"""
|
||||
Material descriptions.
|
||||
|
||||
|
||||
Author: DavidCarter (dcarter@davidcarter.ca)
|
||||
Licence: LGPL
|
||||
"""
|
||||
|
||||
@@ -6,7 +6,6 @@ from Base.Metadata import export
|
||||
from ModelProperty import ModelProperty
|
||||
from typing import Final
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Material/App/Materials.h",
|
||||
Namespace="Materials",
|
||||
@@ -18,7 +17,7 @@ from typing import Final
|
||||
class MaterialProperty(ModelProperty):
|
||||
"""
|
||||
Material property descriptions.
|
||||
|
||||
|
||||
Author: DavidCarter (dcarter@davidcarter.ca)
|
||||
Licence: LGPL
|
||||
"""
|
||||
|
||||
@@ -6,7 +6,6 @@ from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final, List, Dict, overload
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Material/App/Model.h",
|
||||
Namespace="Materials",
|
||||
|
||||
@@ -6,7 +6,6 @@ from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final, List, Dict
|
||||
|
||||
|
||||
@export(Include="Mod/Material/App/ModelManager.h", Namespace="Materials", Constructor=True)
|
||||
class ModelManager(BaseClass):
|
||||
"""
|
||||
@@ -25,13 +24,13 @@ class ModelManager(BaseClass):
|
||||
Models: Final[Dict] = ...
|
||||
"""List of model libraries."""
|
||||
|
||||
def getModel(self) ->...:
|
||||
def getModel(self) -> ...:
|
||||
"""
|
||||
Get a model object by specifying its UUID
|
||||
"""
|
||||
...
|
||||
|
||||
def getModelByPath(self) ->...:
|
||||
def getModelByPath(self) -> ...:
|
||||
"""
|
||||
Get a model object by specifying its path
|
||||
"""
|
||||
|
||||
@@ -6,7 +6,6 @@ from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final
|
||||
|
||||
|
||||
@export(
|
||||
Include="Mod/Material/App/Model.h",
|
||||
Namespace="Materials",
|
||||
|
||||
@@ -6,7 +6,6 @@ from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final
|
||||
|
||||
|
||||
@export(
|
||||
PythonName="Material.UUIDs",
|
||||
Twin="ModelUUIDs",
|
||||
@@ -19,7 +18,7 @@ from typing import Final
|
||||
class UUIDs(BaseClass):
|
||||
"""
|
||||
Material model UUID identifiers.
|
||||
|
||||
|
||||
Author: DavidCarter (dcarter@davidcarter.ca)
|
||||
Licence: LGPL
|
||||
"""
|
||||
|
||||
@@ -2,11 +2,16 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from Metadata import export, constmethod, forward_declarations, class_declarations, sequence_protocol
|
||||
from Metadata import (
|
||||
export,
|
||||
constmethod,
|
||||
forward_declarations,
|
||||
class_declarations,
|
||||
sequence_protocol,
|
||||
)
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final, overload
|
||||
|
||||
|
||||
@export(
|
||||
Twin="MaterialTreeWidget",
|
||||
TwinPointer="MaterialTreeWidget",
|
||||
|
||||
Reference in New Issue
Block a user