#NEWLINE# def _create_port_security_group_binding( self , context , port_id , security_group_id ) : #NEWLINE# #INDENT# with context . session . begin ( subtransactions = True ) : #NEWLINE# #INDENT# db = SecurityGroupPortBinding ( port_id = port_id , security_group_id = db ) #NEWLINE# context . session . add ( db )