[bindings] remove redundant signatures. batch1
This commit is contained in:
@@ -38,8 +38,6 @@ class Type(PyObjectBase):
|
||||
@staticmethod
|
||||
def fromName(name: str, /) -> "Type":
|
||||
"""
|
||||
fromName(name) -> Base.BaseType
|
||||
|
||||
Returns a type object by name.
|
||||
|
||||
name : str
|
||||
@@ -49,8 +47,6 @@ class Type(PyObjectBase):
|
||||
@staticmethod
|
||||
def fromKey(key: int, /) -> "Type":
|
||||
"""
|
||||
fromKey(key) -> Base.BaseType
|
||||
|
||||
Returns a type id object by key.
|
||||
|
||||
key : int
|
||||
@@ -60,8 +56,6 @@ class Type(PyObjectBase):
|
||||
@staticmethod
|
||||
def getNumTypes() -> int:
|
||||
"""
|
||||
getNumTypes() -> int
|
||||
|
||||
Returns the number of type ids created so far.
|
||||
"""
|
||||
...
|
||||
@@ -69,8 +63,6 @@ class Type(PyObjectBase):
|
||||
@staticmethod
|
||||
def getBadType() -> "Type":
|
||||
"""
|
||||
getBadType() -> Base.BaseType
|
||||
|
||||
Returns an invalid type id.
|
||||
"""
|
||||
...
|
||||
@@ -78,8 +70,6 @@ class Type(PyObjectBase):
|
||||
@staticmethod
|
||||
def getAllDerivedFrom(type: str, /) -> List[str]:
|
||||
"""
|
||||
getAllDerivedFrom(type) -> list
|
||||
|
||||
Returns all descendants from the given type id.
|
||||
|
||||
type : str, Base.BaseType
|
||||
@@ -89,8 +79,6 @@ class Type(PyObjectBase):
|
||||
@constmethod
|
||||
def getParent(self) -> "Type":
|
||||
"""
|
||||
getParent() -> Base.BaseType
|
||||
|
||||
Returns the parent type id.
|
||||
"""
|
||||
...
|
||||
@@ -98,8 +86,6 @@ class Type(PyObjectBase):
|
||||
@constmethod
|
||||
def isBad(self) -> bool:
|
||||
"""
|
||||
isBad() -> bool
|
||||
|
||||
Checks if the type id is invalid.
|
||||
"""
|
||||
...
|
||||
@@ -107,8 +93,6 @@ class Type(PyObjectBase):
|
||||
@constmethod
|
||||
def isDerivedFrom(self, type: str, /) -> bool:
|
||||
"""
|
||||
isDerivedFrom(type) -> bool
|
||||
|
||||
Returns true if given type id is a father of this type id.
|
||||
|
||||
type : str, Base.BaseType
|
||||
@@ -118,16 +102,12 @@ class Type(PyObjectBase):
|
||||
@constmethod
|
||||
def getAllDerived(self) -> List[object]:
|
||||
"""
|
||||
getAllDerived() -> list
|
||||
|
||||
Returns all descendants from this type id.
|
||||
"""
|
||||
...
|
||||
|
||||
def createInstance(self) -> object:
|
||||
"""
|
||||
createInstance() -> object
|
||||
|
||||
Creates an instance of this type id.
|
||||
"""
|
||||
...
|
||||
@@ -135,8 +115,6 @@ class Type(PyObjectBase):
|
||||
@staticmethod
|
||||
def createInstanceByName(name: str, load: bool = False, /) -> object:
|
||||
"""
|
||||
createInstanceByName(name, load=False) -> object
|
||||
|
||||
Creates an instance of the named type id.
|
||||
|
||||
name : str
|
||||
|
||||
Reference in New Issue
Block a user