(organisation_dto: UpdateOrganisationDTO)
return org
Updates an organisation
        :param organisation_dto: DTO with updated info
        :returns updated Organisation
Updates an organisation
        :param organisation_dto: DTO with updated info
        :returns updated Organisation
Updates an organisation : param organisation_dto : DTO with updated info : returns updated Organisation
def update_organisation(organisation_dto: UpdateOrganisationDTO) -> Organisation:
        """
        Updates an organisation
        :param organisation_dto: DTO with updated info
        :returns updated Organisation
        """
        org = OrganisationService.get_organisation_by_id(
            organisation_dto.organisation_id
        )
        OrganisationService.assert_validate_name(org, organisation_dto.name)
        OrganisationService.assert_validate_users(organisation_dto)
        org.update(organisation_dto)
        return org
def update_organisation ( organisation_dto : UpdateOrganisationDTO ) -> Organisation : org = OrganisationService . get_organisation_by_id ( organisation_dto . organisation_id ) OrganisationService . assert_validate_name ( org , organisation_dto . name ) OrganisationService . assert_validate_users ( organisation_dto ) org . update ( organisation_dto ) return org