Are you sure this `context/getDefaultLicense(license_data/code)` works? I thought you have to use `python:context.getDefaultLicense(license_data['code'])` or `license_data.code` (not sure how license_data looks like)