prefect.server.schemas.sorting
Schemas for sorting Prefect REST API objects.
ArtifactCollectionSort
Bases: AutoEnum
Defines artifact collection sorting options.
Source code in src/prefect/server/schemas/sorting.py
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
|
as_sql_sort()
Return an expression used to sort artifact collections
Source code in src/prefect/server/schemas/sorting.py
163 164 165 166 167 168 169 170 171 172 |
|
ArtifactSort
Bases: AutoEnum
Defines artifact sorting options.
Source code in src/prefect/server/schemas/sorting.py
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
|
as_sql_sort()
Return an expression used to sort artifacts
Source code in src/prefect/server/schemas/sorting.py
142 143 144 145 146 147 148 149 150 151 |
|
BlockDocumentSort
Bases: AutoEnum
Defines block document sorting options.
Source code in src/prefect/server/schemas/sorting.py
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
|
as_sql_sort()
Return an expression used to sort block documents
Source code in src/prefect/server/schemas/sorting.py
201 202 203 204 205 206 207 208 |
|
DeploymentSort
Bases: AutoEnum
Defines deployment sorting options.
Source code in src/prefect/server/schemas/sorting.py
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
|
as_sql_sort()
Return an expression used to sort deployments
Source code in src/prefect/server/schemas/sorting.py
122 123 124 125 126 127 128 129 130 |
|
FlowRunSort
Bases: AutoEnum
Defines flow run sorting options.
Source code in src/prefect/server/schemas/sorting.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
|
FlowSort
Bases: AutoEnum
Defines flow sorting options.
Source code in src/prefect/server/schemas/sorting.py
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
|
as_sql_sort()
Return an expression used to sort flows
Source code in src/prefect/server/schemas/sorting.py
103 104 105 106 107 108 109 110 111 |
|
LogSort
Bases: AutoEnum
Defines log sorting options.
Source code in src/prefect/server/schemas/sorting.py
80 81 82 83 84 85 86 87 88 89 90 91 92 |
|
as_sql_sort()
Return an expression used to sort task runs
Source code in src/prefect/server/schemas/sorting.py
86 87 88 89 90 91 92 |
|
TaskRunSort
Bases: AutoEnum
Defines task run sorting options.
Source code in src/prefect/server/schemas/sorting.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
|
as_sql_sort()
Return an expression used to sort task runs
Source code in src/prefect/server/schemas/sorting.py
66 67 68 69 70 71 72 73 74 75 76 77 |
|
VariableSort
Bases: AutoEnum
Defines variables sorting options.
Source code in src/prefect/server/schemas/sorting.py
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
|
as_sql_sort()
Return an expression used to sort variables
Source code in src/prefect/server/schemas/sorting.py
183 184 185 186 187 188 189 190 191 |
|