@@ -56,72 +56,72 @@ from pyslurm.db.tres cimport TrackableResources, TrackableResource
56
56
57
57
58
58
cdef class JobSearchFilter:
59
- """ Search conditions for Slurm database Jobs .
59
+ """ Query-Conditions for Jobs in the Slurm Database .
60
60
61
61
Args:
62
62
**kwargs (Any, optional=None):
63
63
Any valid attribute of the object.
64
64
65
65
Attributes:
66
- ids (list):
66
+ ids (list[int] ):
67
67
A list of Job ids to search for.
68
68
start_time (Union[str, int, datetime.datetime]):
69
69
Search for Jobs which started after this time.
70
70
end_time (Union[str, int, datetime.datetime]):
71
71
Search for Jobs which ended before this time.
72
- accounts (list):
72
+ accounts (list[str] ):
73
73
Search for Jobs with these account names.
74
- association_ids (list):
74
+ association_ids (list[int] ):
75
75
Search for Jobs with these association ids.
76
- clusters (list):
76
+ clusters (list[str] ):
77
77
Search for Jobs running in these clusters.
78
- constraints (list):
78
+ constraints (list[str] ):
79
79
Search for Jobs with these constraints.
80
80
cpus (int):
81
81
Search for Jobs with exactly this many CPUs.
82
- Note: If you also specify max_cpus, then this value will act as
82
+ Note: If you also specify ` max_cpus` , then this value will act as
83
83
the minimum.
84
84
max_cpus (int):
85
85
Search for Jobs with no more than this amount of CPUs.
86
- Note: This value has no effect without also setting cpus.
86
+ Note: This value has no effect without also setting ` cpus` .
87
87
nodes (int):
88
88
Search for Jobs with exactly this many nodes.
89
- Note: If you also specify max_nodes, then this value will act as
89
+ Note: If you also specify ` max_nodes` , then this value will act as
90
90
the minimum.
91
91
max_nodes (int):
92
92
Search for Jobs with no more than this amount of nodes.
93
- Note: This value has no effect without also setting nodes.
94
- qos (list):
93
+ Note: This value has no effect without also setting ` nodes` .
94
+ qos (list[str] ):
95
95
Search for Jobs with these Qualities of Service.
96
- names (list):
96
+ names (list[str] ):
97
97
Search for Jobs with these job names.
98
- partitions (list):
98
+ partitions (list[str] ):
99
99
Search for Jobs with these partition names.
100
- groups (list):
101
- Search for Jobs with these group names. You can both specify the
102
- groups as string or by their GID .
100
+ groups (list[str] ):
101
+ Search for Jobs with these group names. Alternatively, you can
102
+ also specify the GIDs directly .
103
103
timelimit (Union[str, int]):
104
104
Search for Jobs with exactly this timelimit.
105
- Note: If you also specify max_timelimit, then this value will act
105
+ Note: If you also specify ` max_timelimit` , then this value will act
106
106
as the minimum.
107
107
max_timelimit (Union[str, int]):
108
108
Search for Jobs which run no longer than this timelimit
109
- Note: This value has no effect without also setting timelimit
110
- users (list):
111
- Search for Jobs with these user names. You can both specify the
112
- users as string or by their UID .
113
- wckeys (list):
109
+ Note: This value has no effect without also setting ` timelimit`
110
+ users (list[str] ):
111
+ Search for Jobs with these user names. Alternatively, you can also
112
+ specify the UIDs directly .
113
+ wckeys (list[str] ):
114
114
Search for Jobs with these WCKeys
115
- nodelist (list):
115
+ nodelist (list[str] ):
116
116
Search for Jobs that ran on any of these Nodes
117
117
with_script (bool):
118
118
Instruct the slurmdbd to also send the job script(s)
119
119
Note: This requires specifying explictiy job ids, and is mutually
120
- exclusive with with_env
120
+ exclusive with ` with_env`
121
121
with_env (bool):
122
122
Instruct the slurmdbd to also send the job environment(s)
123
123
Note: This requires specifying explictiy job ids, and is mutually
124
- exclusive with with_script
124
+ exclusive with ` with_script`
125
125
"""
126
126
cdef slurmdb_job_cond_t * ptr
127
127
0 commit comments