mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
stub: add missing entity.inverse_attributes
(cherry picked from commit 9123d8c183)
This commit is contained in:
@@ -707,8 +707,22 @@ class ellipse(curve):
|
|||||||
|
|
||||||
class entity(declaration):
|
class entity(declaration):
|
||||||
def __init__(self, name, is_abstract, index_in_schema, supertype): ...
|
def __init__(self, name, is_abstract, index_in_schema, supertype): ...
|
||||||
def all_attributes(self) -> tuple[attribute, ...]: ...
|
def all_attributes(self) -> tuple[attribute, ...]:
|
||||||
def all_inverse_attributes(self) -> tuple[inverse_attribute, ...]: ...
|
"""Get a tuple of attributes, including those inherited from supertypes."""
|
||||||
|
...
|
||||||
|
|
||||||
|
def attributes(self) -> tuple[attribute, ...]:
|
||||||
|
"""Get a tuple of direct attributes."""
|
||||||
|
...
|
||||||
|
|
||||||
|
def all_inverse_attributes(self) -> tuple[inverse_attribute, ...]:
|
||||||
|
"""Get a tuple of inverse attributes, including those inherited from supertypes."""
|
||||||
|
...
|
||||||
|
|
||||||
|
def inverse_attributes(self) -> tuple[inverse_attribute, ...]:
|
||||||
|
"""Get a tuple of direct inverse attributes."""
|
||||||
|
...
|
||||||
|
|
||||||
def argument_types(self) -> tuple[str, ...]:
|
def argument_types(self) -> tuple[str, ...]:
|
||||||
"""Get a tuple of types for each attribute in ``all_attributes()``."""
|
"""Get a tuple of types for each attribute in ``all_attributes()``."""
|
||||||
...
|
...
|
||||||
@@ -722,7 +736,6 @@ class entity(declaration):
|
|||||||
"""
|
"""
|
||||||
...
|
...
|
||||||
|
|
||||||
def attributes(self) -> tuple[attribute, ...]: ...
|
|
||||||
def derived(self) -> tuple[bool, ...]:
|
def derived(self) -> tuple[bool, ...]:
|
||||||
"""Return a tuple of booleans indicating whether each direct attribute is derived."""
|
"""Return a tuple of booleans indicating whether each direct attribute is derived."""
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user