def get_dataset_names(container):
    """Get all dataset names that are inside a container.

    Args:
        container (pyn5): [description].

    Returns:
        list of strings: List of dataset names.
    """
    return container.attrs['datasets']