parameters: (license_id)
return_statement: return tuple_license
docstring: Looks for a license matching the specified license_id.
docstring_summary: Looks for a license matching the specified license_id.
docstring_tokens: Looks for a license matching the specified license_id .
function: def find_license_by_id(license_id):
          '''
          Looks for a license matching the specified license_id.
          '''
          license_id = int(license_id)
  
          with _superuser_connection(settings.LICENSE_DB) as conn:
              res = conn.find_license_by_id(license_id=license_id)
  
          License = namedtuple(
                          'License',
                          [
                              'license_id', 'license_name', 'pii_def',
                              'pii_anonymized', 'pii_removed'
                          ]
                      )
          tuple_license = License(*res)
          return tuple_license
function_tokens: def find_license_by_id ( license_id ) : license_id = int ( license_id ) with _superuser_connection ( settings . LICENSE_DB ) as conn : res = conn . find_license_by_id ( license_id = license_id ) License = namedtuple ( 'License' , [ 'license_id' , 'license_name' , 'pii_def' , 'pii_anonymized' , 'pii_removed' ] ) tuple_license = License ( * res ) return tuple_license