@@ -56,72 +56,72 @@ from pyslurm.db.tres cimport TrackableResources, TrackableResource
5656
5757
5858cdef class JobSearchFilter:
59- """ Search conditions for Slurm database Jobs .
59+ """ Query-Conditions for Jobs in the Slurm Database .
6060
6161 Args:
6262 **kwargs (Any, optional=None):
6363 Any valid attribute of the object.
6464
6565 Attributes:
66- ids (list):
66+ ids (list[int] ):
6767 A list of Job ids to search for.
6868 start_time (Union[str, int, datetime.datetime]):
6969 Search for Jobs which started after this time.
7070 end_time (Union[str, int, datetime.datetime]):
7171 Search for Jobs which ended before this time.
72- accounts (list):
72+ accounts (list[str] ):
7373 Search for Jobs with these account names.
74- association_ids (list):
74+ association_ids (list[int] ):
7575 Search for Jobs with these association ids.
76- clusters (list):
76+ clusters (list[str] ):
7777 Search for Jobs running in these clusters.
78- constraints (list):
78+ constraints (list[str] ):
7979 Search for Jobs with these constraints.
8080 cpus (int):
8181 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
8383 the minimum.
8484 max_cpus (int):
8585 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` .
8787 nodes (int):
8888 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
9090 the minimum.
9191 max_nodes (int):
9292 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] ):
9595 Search for Jobs with these Qualities of Service.
96- names (list):
96+ names (list[str] ):
9797 Search for Jobs with these job names.
98- partitions (list):
98+ partitions (list[str] ):
9999 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 .
103103 timelimit (Union[str, int]):
104104 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
106106 as the minimum.
107107 max_timelimit (Union[str, int]):
108108 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] ):
114114 Search for Jobs with these WCKeys
115- nodelist (list):
115+ nodelist (list[str] ):
116116 Search for Jobs that ran on any of these Nodes
117117 with_script (bool):
118118 Instruct the slurmdbd to also send the job script(s)
119119 Note: This requires specifying explictiy job ids, and is mutually
120- exclusive with with_env
120+ exclusive with ` with_env`
121121 with_env (bool):
122122 Instruct the slurmdbd to also send the job environment(s)
123123 Note: This requires specifying explictiy job ids, and is mutually
124- exclusive with with_script
124+ exclusive with ` with_script`
125125 """
126126 cdef slurmdb_job_cond_t * ptr
127127
0 commit comments