Unify doc-strings (remove type/rtype)

As this information is already provided in type hints and we don't need to maintain it in two places.
This commit is contained in:
Andrej730
2025-06-30 17:39:34 +05:00
parent fc10915d2b
commit 8cfd6b1754
56 changed files with 0 additions and 171 deletions
@@ -28,9 +28,7 @@ def add_resource_time(file: ifcopenshell.file, resource: ifcopenshell.entity_ins
be used to calculate other parameters like resource utilisation.
:param resource: The IfcConstructionResource to record time for.
:type resource: ifcopenshell.entity_instance
:return: The newly created IfcResourceTime
:rtype: ifcopenshell.entity_instance
Example:
@@ -51,9 +51,7 @@ def calculate_resource_work(file: ifcopenshell.file, resource: ifcopenshell.enti
:param resource: The IfcConstructionResource that you want to calculate
the work performed.
:type resource: ifcopenshell.entity_instance
:return None:
:rtype: None:
"""
if ifcopenshell.util.constraint.is_attribute_locked(resource, "Usage.ScheduleWork"):
return