@@ -401,7 +401,7 @@ def remove_skylight_from_project(
401401 if location_type == "orphaned" :
402402 parent_obj = updated_project .envelope
403403 elif location_type == "roof" :
404- parent_obj = updated_project .envelope .roof [roof_index ] # type: ignore[index]
404+ parent_obj = updated_project .envelope .roof [roof_index ] # type: ignore
405405 parent_obj .remove_from_subcomponent_list (
406406 subcomponent_id = skylight_assembly_type , subcomponent_name = "skylight"
407407 )
@@ -442,7 +442,7 @@ def update_skylight_in_project(
442442 if location_type == "orphaned" :
443443 parent_obj = updated_project .envelope
444444 elif location_type == "roof" :
445- parent_obj = updated_project .envelope .roof [roof_index ] # type: ignore[index]
445+ parent_obj = updated_project .envelope .roof [roof_index ] # type: ignore
446446 parent_obj .update_subcomponent_list (
447447 subcomponent_updates = updates ,
448448 subcomponent_id = skylight_assembly_type ,
@@ -708,14 +708,14 @@ def add_thermal_bridge_to_project(
708708 project : ComBuilding ,
709709 building_area_key : str ,
710710 ag_wall : AgWall ,
711- thermal_bridge_type : Union [
712- ThermalBridgeTypeOptions , str
713- ] = ThermalBridgeTypeOptions .THERMAL_BRIDGE_OTHER ,
711+ thermal_bridge_type : (
712+ ThermalBridgeTypeOptions | None
713+ ) = ThermalBridgeTypeOptions .THERMAL_BRIDGE_OTHER ,
714714 thermal_bridge_category : Union [
715- ThermalBridgeCategoryOptions , str
715+ ThermalBridgeCategoryOptions | None
716716 ] = ThermalBridgeCategoryOptions .THERMAL_BRIDGE_UNCATEGORIZED ,
717717 thermal_bridge_compliance_type : Union [
718- ThermalBridgeComplianceTypeOptions , str
718+ ThermalBridgeComplianceTypeOptions | None
719719 ] = ThermalBridgeComplianceTypeOptions .THERMAL_BRIDGE_NON_PRESCRIPTIVE ,
720720 psi_factor : float = 0.0 ,
721721 chi_factor : float = 0.0 ,
0 commit comments