Details
Slurm Version: 23.02.1
Python Version: 3.9.5
Cython Version: ?
PySlurm Branch: v23.2.1 tag, aka 538bf42
Linux Distribution: CentOS 7
Issue
The docs describe the users filter field as "Search for Jobs with these user names. You can both specify the users as string or by their UID". However specifying via username doesn't seem to work. See example below:
filter = JobSearchFilter(users=["milton.m"])
Jobs.load(filter)
Gives me:
in pyslurm.db.job.Jobs.load:242in pyslurm.db.job.JobSearchFilter._create:151
in pyslurm.db.job.JobSearchFilter._parse_users:107
ValueError: invalid literal for int() with base 10: 'milton.m'