def METHOD_NAME(sm: SMInstance):
    project_id = [p['id'] for p in sm.projects.get_all_projects() if p['numDatasets'] > 0][0]
    # If anything is broken with the GraphQL mapping, this will throw an exception
    sm.datasets(
        nameMask='foo',
        idMask='foo',
        submitter_id=sm.current_user_id(),
        group_id=sm._gqclient.get_primary_group_id(),
        project=project_id,
        polarity='Positive',
        ionisation_source='MALDI',
        analyzer_type='Orbitrap',
        maldi_matrix='DHB',
        organism='Human',
        organismPart='Cells',
    )