parameters: (license_name, pii_def, pii_anonymized, pii_removed)
docstring: Creates a new license in the license table.
docstring_summary: Creates a new license in the license table.
docstring_tokens: Creates a new license in the license table .
function: def create_license(license_name, pii_def, pii_anonymized, pii_removed):
          '''
          Creates a new license in the license table.
          '''
          license_name = license_name.lower()
          pii_def = pii_def.lower()
  
          with _superuser_connection(settings.LICENSE_DB) as conn:
              return conn.create_license(
                  license_name=license_name,
                  pii_def=pii_def,
                  pii_anonymized=pii_anonymized,
                  pii_removed=pii_removed)
function_tokens: def create_license ( license_name , pii_def , pii_anonymized , pii_removed ) : license_name = license_name . lower ( ) pii_def = pii_def . lower ( ) with _superuser_connection ( settings . LICENSE_DB ) as conn : return conn . create_license ( license_name = license_name , pii_def = pii_def , pii_anonymized = pii_anonymized , pii_removed = pii_removed )