(self, aggregation_obj)
Add an aggregation object to the group.

        Args:
            aggregation_obj (Aggregation): the Aggregation object.
Add an aggregation object to the group.
Add an aggregation object to the group .
def add_aggregation(self, aggregation_obj):
        """Add an aggregation object to the group.

        Args:
            aggregation_obj (Aggregation): the Aggregation object.
        """
        self.group.aggregations.append(aggregation_obj)
        self.group.orientation = self._orientation
        db_session.add(aggregation_obj)
        db_session.add(self.group)
        db_session.commit()
def add_aggregation ( self , aggregation_obj ) : self . group . aggregations . append ( aggregation_obj ) self . group . orientation = self . _orientation db_session . add ( aggregation_obj ) db_session . add ( self . group ) db_session . commit ( )