mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
typing
This commit is contained in:
@@ -19,9 +19,14 @@
|
||||
import ifcopenshell
|
||||
import ifcopenshell.api
|
||||
import ifcopenshell.guid
|
||||
from typing import Union
|
||||
|
||||
|
||||
def assign_flow_control(file, relating_flow_element=None, related_flow_control=None) -> None:
|
||||
def assign_flow_control(
|
||||
file: ifcopenshell.file,
|
||||
relating_flow_element: ifcopenshell.entity_instance,
|
||||
related_flow_control: ifcopenshell.entity_instance,
|
||||
) -> Union[ifcopenshell.entity_instance, None]:
|
||||
"""Assigns to the flow element control element that either sense or control
|
||||
some aspect of the flow element.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user