prefect.client.schemas.filters
Schemas that define Prefect REST API filtering operations.
ArtifactCollectionFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter artifact collections. Only artifact collections matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 |
|
ArtifactCollectionFilterFlowRunId
Bases: PrefectBaseModel
Filter by ArtifactCollection.flow_run_id
.
Source code in src/prefect/client/schemas/filters.py
1054 1055 1056 1057 1058 1059 |
|
ArtifactCollectionFilterKey
Bases: PrefectBaseModel
Filter by ArtifactCollection.key
.
Source code in src/prefect/client/schemas/filters.py
1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
|
ArtifactCollectionFilterLatestId
Bases: PrefectBaseModel
Filter by ArtifactCollection.latest_id
.
Source code in src/prefect/client/schemas/filters.py
1020 1021 1022 1023 1024 1025 |
|
ArtifactCollectionFilterTaskRunId
Bases: PrefectBaseModel
Filter by ArtifactCollection.task_run_id
.
Source code in src/prefect/client/schemas/filters.py
1062 1063 1064 1065 1066 1067 |
|
ArtifactCollectionFilterType
Bases: PrefectBaseModel
Filter by ArtifactCollection.type
.
Source code in src/prefect/client/schemas/filters.py
1070 1071 1072 1073 1074 1075 1076 1077 1078 |
|
ArtifactFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter artifacts. Only artifacts matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 |
|
ArtifactFilterFlowRunId
Bases: PrefectBaseModel
Filter by Artifact.flow_run_id
.
Source code in src/prefect/client/schemas/filters.py
973 974 975 976 977 978 |
|
ArtifactFilterId
Bases: PrefectBaseModel
Filter by Artifact.id
.
Source code in src/prefect/client/schemas/filters.py
940 941 942 943 944 945 |
|
ArtifactFilterKey
Bases: PrefectBaseModel
Filter by Artifact.key
.
Source code in src/prefect/client/schemas/filters.py
948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 |
|
ArtifactFilterTaskRunId
Bases: PrefectBaseModel
Filter by Artifact.task_run_id
.
Source code in src/prefect/client/schemas/filters.py
981 982 983 984 985 986 |
|
ArtifactFilterType
Bases: PrefectBaseModel
Filter by Artifact.type
.
Source code in src/prefect/client/schemas/filters.py
989 990 991 992 993 994 995 996 997 |
|
BlockDocumentFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter BlockDocuments. Only BlockDocuments matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 |
|
BlockDocumentFilterBlockTypeId
Bases: PrefectBaseModel
Filter by BlockDocument.block_type_id
.
Source code in src/prefect/client/schemas/filters.py
738 739 740 741 742 743 |
|
BlockDocumentFilterId
Bases: PrefectBaseModel
Filter by BlockDocument.id
.
Source code in src/prefect/client/schemas/filters.py
746 747 748 749 750 751 |
|
BlockDocumentFilterIsAnonymous
Bases: PrefectBaseModel
Filter by BlockDocument.is_anonymous
.
Source code in src/prefect/client/schemas/filters.py
727 728 729 730 731 732 733 734 735 |
|
BlockDocumentFilterName
Bases: PrefectBaseModel
Filter by BlockDocument.name
.
Source code in src/prefect/client/schemas/filters.py
754 755 756 757 758 759 760 761 762 763 764 765 766 767 |
|
BlockSchemaFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter BlockSchemas
Source code in src/prefect/client/schemas/filters.py
710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 |
|
BlockSchemaFilterBlockTypeId
Bases: PrefectBaseModel
Filter by BlockSchema.block_type_id
.
Source code in src/prefect/client/schemas/filters.py
671 672 673 674 675 676 |
|
BlockSchemaFilterCapabilities
Bases: PrefectBaseModel
Filter by BlockSchema.capabilities
Source code in src/prefect/client/schemas/filters.py
687 688 689 690 691 692 693 694 695 696 697 |
|
BlockSchemaFilterId
Bases: PrefectBaseModel
Filter by BlockSchema.id
Source code in src/prefect/client/schemas/filters.py
679 680 681 682 683 684 |
|
BlockSchemaFilterVersion
Bases: PrefectBaseModel
Filter by BlockSchema.capabilities
Source code in src/prefect/client/schemas/filters.py
700 701 702 703 704 705 706 707 |
|
BlockTypeFilter
Bases: PrefectBaseModel
Filter BlockTypes
Source code in src/prefect/client/schemas/filters.py
659 660 661 662 663 664 665 666 667 668 |
|
BlockTypeFilterName
Bases: PrefectBaseModel
Filter by BlockType.name
Source code in src/prefect/client/schemas/filters.py
637 638 639 640 641 642 643 644 645 646 647 648 |
|
BlockTypeFilterSlug
Bases: PrefectBaseModel
Filter by BlockType.slug
Source code in src/prefect/client/schemas/filters.py
651 652 653 654 655 656 |
|
DeploymentFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter for deployments. Only deployments matching all criteria will be returned.
Source code in src/prefect/client/schemas/filters.py
525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 |
|
DeploymentFilterConcurrencyLimit
Bases: PrefectBaseModel
Source code in src/prefect/client/schemas/filters.py
508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
|
DeploymentFilterId
Bases: PrefectBaseModel
Filter by Deployment.id
.
Source code in src/prefect/client/schemas/filters.py
454 455 456 457 458 459 |
|
DeploymentFilterName
Bases: PrefectBaseModel
Filter by Deployment.name
.
Source code in src/prefect/client/schemas/filters.py
462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
|
DeploymentFilterTags
Bases: PrefectBaseModel
, OperatorMixin
Filter by Deployment.tags
.
Source code in src/prefect/client/schemas/filters.py
492 493 494 495 496 497 498 499 500 501 502 503 504 505 |
|
DeploymentFilterWorkQueueName
Bases: PrefectBaseModel
Filter by Deployment.work_queue_name
.
Source code in src/prefect/client/schemas/filters.py
482 483 484 485 486 487 488 489 |
|
FilterSet
Bases: PrefectBaseModel
A collection of filters for common objects
Source code in src/prefect/client/schemas/filters.py
619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 |
|
FlowFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter for flows. Only flows matching all criteria will be returned.
Source code in src/prefect/client/schemas/filters.py
76 77 78 79 80 81 82 83 84 85 86 87 |
|
FlowFilterId
Bases: PrefectBaseModel
Filter by Flow.id
.
Source code in src/prefect/client/schemas/filters.py
32 33 34 35 36 37 |
|
FlowFilterName
Bases: PrefectBaseModel
Filter by Flow.name
.
Source code in src/prefect/client/schemas/filters.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
FlowFilterTags
Bases: PrefectBaseModel
, OperatorMixin
Filter by Flow.tags
.
Source code in src/prefect/client/schemas/filters.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
|
FlowRunFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter flow runs. Only flow runs matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 |
|
FlowRunFilterDeploymentId
Bases: PrefectBaseModel
, OperatorMixin
Filter by FlowRun.deployment_id
.
Source code in src/prefect/client/schemas/filters.py
137 138 139 140 141 142 143 144 145 146 |
|
FlowRunFilterExpectedStartTime
Bases: PrefectBaseModel
Filter by FlowRun.expected_start_time
.
Source code in src/prefect/client/schemas/filters.py
216 217 218 219 220 221 222 223 224 225 226 |
|
FlowRunFilterFlowVersion
Bases: PrefectBaseModel
Filter by FlowRun.flow_version
.
Source code in src/prefect/client/schemas/filters.py
192 193 194 195 196 197 |
|
FlowRunFilterId
Bases: PrefectBaseModel
Filter by FlowRun.id.
Source code in src/prefect/client/schemas/filters.py
90 91 92 93 94 95 96 97 98 |
|
FlowRunFilterIdempotencyKey
Bases: PrefectBaseModel
Filter by FlowRun.idempotency_key.
Source code in src/prefect/client/schemas/filters.py
268 269 270 271 272 273 274 275 276 |
|
FlowRunFilterName
Bases: PrefectBaseModel
Filter by FlowRun.name
.
Source code in src/prefect/client/schemas/filters.py
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
|
FlowRunFilterNextScheduledStartTime
Bases: PrefectBaseModel
Filter by FlowRun.next_scheduled_start_time
.
Source code in src/prefect/client/schemas/filters.py
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 |
|
FlowRunFilterParentFlowRunId
Bases: PrefectBaseModel
, OperatorMixin
Filter for subflows of the given flow runs
Source code in src/prefect/client/schemas/filters.py
248 249 250 251 252 253 |
|
FlowRunFilterParentTaskRunId
Bases: PrefectBaseModel
, OperatorMixin
Filter by FlowRun.parent_task_run_id
.
Source code in src/prefect/client/schemas/filters.py
256 257 258 259 260 261 262 263 264 265 |
|
FlowRunFilterStartTime
Bases: PrefectBaseModel
Filter by FlowRun.start_time
.
Source code in src/prefect/client/schemas/filters.py
200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
|
FlowRunFilterStateType
Bases: PrefectBaseModel
Filter by FlowRun.state_type
.
Source code in src/prefect/client/schemas/filters.py
163 164 165 166 167 168 169 170 171 |
|
FlowRunFilterTags
Bases: PrefectBaseModel
, OperatorMixin
Filter by FlowRun.tags
.
Source code in src/prefect/client/schemas/filters.py
121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
|
FlowRunFilterWorkQueueName
Bases: PrefectBaseModel
, OperatorMixin
Filter by FlowRun.work_queue_name
.
Source code in src/prefect/client/schemas/filters.py
149 150 151 152 153 154 155 156 157 158 159 160 |
|
FlowRunNotificationPolicyFilter
Bases: PrefectBaseModel
Filter FlowRunNotificationPolicies.
Source code in src/prefect/client/schemas/filters.py
803 804 805 806 807 808 809 |
|
FlowRunNotificationPolicyFilterIsActive
Bases: PrefectBaseModel
Filter by FlowRunNotificationPolicy.is_active
.
Source code in src/prefect/client/schemas/filters.py
792 793 794 795 796 797 798 799 800 |
|
LogFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter logs. Only logs matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 |
|
LogFilterFlowRunId
Bases: PrefectBaseModel
Filter by Log.flow_run_id
.
Source code in src/prefect/client/schemas/filters.py
586 587 588 589 590 591 |
|
LogFilterLevel
Bases: PrefectBaseModel
Filter by Log.level
.
Source code in src/prefect/client/schemas/filters.py
557 558 559 560 561 562 563 564 565 566 567 568 569 570 |
|
LogFilterName
Bases: PrefectBaseModel
Filter by Log.name
.
Source code in src/prefect/client/schemas/filters.py
547 548 549 550 551 552 553 554 |
|
LogFilterTaskRunId
Bases: PrefectBaseModel
Filter by Log.task_run_id
.
Source code in src/prefect/client/schemas/filters.py
594 595 596 597 598 599 |
|
LogFilterTimestamp
Bases: PrefectBaseModel
Filter by Log.timestamp
.
Source code in src/prefect/client/schemas/filters.py
573 574 575 576 577 578 579 580 581 582 583 |
|
Operator
Bases: AutoEnum
Operators for combining filter criteria.
Source code in src/prefect/client/schemas/filters.py
16 17 18 19 20 |
|
OperatorMixin
Base model for Prefect filters that combines criteria with a user-provided operator
Source code in src/prefect/client/schemas/filters.py
23 24 25 26 27 28 29 |
|
TaskRunFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter task runs. Only task runs matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 |
|
TaskRunFilterFlowRunId
Bases: PrefectBaseModel
Filter by TaskRun.flow_run_id
.
Source code in src/prefect/client/schemas/filters.py
324 325 326 327 328 329 330 331 332 333 334 |
|
TaskRunFilterId
Bases: PrefectBaseModel
Filter by TaskRun.id
.
Source code in src/prefect/client/schemas/filters.py
337 338 339 340 341 342 |
|
TaskRunFilterName
Bases: PrefectBaseModel
Filter by TaskRun.name
.
Source code in src/prefect/client/schemas/filters.py
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 |
|
TaskRunFilterStartTime
Bases: PrefectBaseModel
Filter by TaskRun.start_time
.
Source code in src/prefect/client/schemas/filters.py
412 413 414 415 416 417 418 419 420 421 422 423 424 425 |
|
TaskRunFilterStateType
Bases: PrefectBaseModel
Filter by TaskRun.state_type
.
Source code in src/prefect/client/schemas/filters.py
381 382 383 384 385 386 |
|
TaskRunFilterSubFlowRuns
Bases: PrefectBaseModel
Filter by TaskRun.subflow_run
.
Source code in src/prefect/client/schemas/filters.py
400 401 402 403 404 405 406 407 408 409 |
|
TaskRunFilterTags
Bases: PrefectBaseModel
, OperatorMixin
Filter by TaskRun.tags
.
Source code in src/prefect/client/schemas/filters.py
365 366 367 368 369 370 371 372 373 374 375 376 377 378 |
|
VariableFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter variables. Only variables matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 |
|
VariableFilterId
Bases: PrefectBaseModel
Filter by Variable.id
.
Source code in src/prefect/client/schemas/filters.py
1101 1102 1103 1104 1105 1106 |
|
VariableFilterName
Bases: PrefectBaseModel
Filter by Variable.name
.
Source code in src/prefect/client/schemas/filters.py
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 |
|
VariableFilterTags
Bases: PrefectBaseModel
, OperatorMixin
Filter by Variable.tags
.
Source code in src/prefect/client/schemas/filters.py
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 |
|
WorkPoolFilterId
Bases: PrefectBaseModel
Filter by WorkPool.id
.
Source code in src/prefect/client/schemas/filters.py
854 855 856 857 858 859 |
|
WorkPoolFilterName
Bases: PrefectBaseModel
Filter by WorkPool.name
.
Source code in src/prefect/client/schemas/filters.py
862 863 864 865 866 867 |
|
WorkPoolFilterType
Bases: PrefectBaseModel
Filter by WorkPool.type
.
Source code in src/prefect/client/schemas/filters.py
870 871 872 873 874 875 |
|
WorkQueueFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter work queues. Only work queues matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
841 842 843 844 845 846 847 848 849 850 851 |
|
WorkQueueFilterId
Bases: PrefectBaseModel
Filter by WorkQueue.id
.
Source code in src/prefect/client/schemas/filters.py
812 813 814 815 816 817 818 |
|
WorkQueueFilterName
Bases: PrefectBaseModel
Filter by WorkQueue.name
.
Source code in src/prefect/client/schemas/filters.py
821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 |
|
WorkerFilterLastHeartbeatTime
Bases: PrefectBaseModel
Filter by Worker.last_heartbeat_time
.
Source code in src/prefect/client/schemas/filters.py
898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 |
|
WorkerFilterStatus
Bases: PrefectBaseModel
Filter by Worker.status
.
Source code in src/prefect/client/schemas/filters.py
915 916 917 918 919 920 921 922 923 |
|
WorkerFilterWorkPoolId
Bases: PrefectBaseModel
Filter by Worker.worker_config_id
.
Source code in src/prefect/client/schemas/filters.py
890 891 892 893 894 895 |
|