mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
typing
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import ifcopenshell
|
||||
from typing import Any, Union, Literal
|
||||
|
||||
# `std::vector<xxx>` usually translated to `tuple[xxx, ...]`.
|
||||
@@ -775,6 +776,9 @@ class entity(declaration):
|
||||
def supertype(self) -> Union[entity, None]: ...
|
||||
|
||||
class entity_instance:
|
||||
file: ifcopenshell.file
|
||||
"""Reference to IFC file to prevent it's garbage collection, if entity is still used."""
|
||||
|
||||
file_: Any
|
||||
id_: Any
|
||||
def data(self, *args): ...
|
||||
|
||||
Reference in New Issue
Block a user