@exception.wrap_pecan_controller_exception
    @wsme_pecan.wsexpose(language_pack.LanguagePack,
                         body=language_pack.LanguagePack,
                         status_code=201)
    def post(self, data):
        handler = language_pack_handler.LanguagePackHandler(
            pecan.request.security_context)
        host_url = pecan.request.host_url
        return language_pack.LanguagePack.from_db_model(
            handler.create(data.as_dict(objects.registry.Image),
                           data.lp_metadata), host_url)
Create a new languagepack.
dataset/ETHPy150Open openstack/solum/solum/api/controllers/v1/language_pack.py/LanguagePacksController.post