import typing


def create_indexes(label: str, properties: typing.List[str]) -> typing.Union[str, typing.List[str]]:
	"""
	Returns a statement that creates indexes on a given label.

	Parameters
	----------
	label : str
		The label (node type) on which to create the index
	properties : list
		A list of properties to be indexed on the given label

	Returns
	-------
	out: str
		Neo4j statement

	"""

	return [f"CREATE INDEX ON :{label}({prop});" for prop in properties]