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
1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
|
ArtifactCollectionFilterFlowRunId
Bases: PrefectBaseModel
Filter by ArtifactCollection.flow_run_id
.
Source code in src/prefect/client/schemas/filters.py
1038 1039 1040 1041 1042 1043 |
|
ArtifactCollectionFilterKey
Bases: PrefectBaseModel
Filter by ArtifactCollection.key
.
Source code in src/prefect/client/schemas/filters.py
1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
|
ArtifactCollectionFilterLatestId
Bases: PrefectBaseModel
Filter by ArtifactCollection.latest_id
.
Source code in src/prefect/client/schemas/filters.py
1004 1005 1006 1007 1008 1009 |
|
ArtifactCollectionFilterTaskRunId
Bases: PrefectBaseModel
Filter by ArtifactCollection.task_run_id
.
Source code in src/prefect/client/schemas/filters.py
1046 1047 1048 1049 1050 1051 |
|
ArtifactCollectionFilterType
Bases: PrefectBaseModel
Filter by ArtifactCollection.type
.
Source code in src/prefect/client/schemas/filters.py
1054 1055 1056 1057 1058 1059 1060 1061 1062 |
|
ArtifactFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter artifacts. Only artifacts matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 |
|
ArtifactFilterFlowRunId
Bases: PrefectBaseModel
Filter by Artifact.flow_run_id
.
Source code in src/prefect/client/schemas/filters.py
957 958 959 960 961 962 |
|
ArtifactFilterId
Bases: PrefectBaseModel
Filter by Artifact.id
.
Source code in src/prefect/client/schemas/filters.py
924 925 926 927 928 929 |
|
ArtifactFilterKey
Bases: PrefectBaseModel
Filter by Artifact.key
.
Source code in src/prefect/client/schemas/filters.py
932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 |
|
ArtifactFilterTaskRunId
Bases: PrefectBaseModel
Filter by Artifact.task_run_id
.
Source code in src/prefect/client/schemas/filters.py
965 966 967 968 969 970 |
|
ArtifactFilterType
Bases: PrefectBaseModel
Filter by Artifact.type
.
Source code in src/prefect/client/schemas/filters.py
973 974 975 976 977 978 979 980 981 |
|
BlockDocumentFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter BlockDocuments. Only BlockDocuments matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 |
|
BlockDocumentFilterBlockTypeId
Bases: PrefectBaseModel
Filter by BlockDocument.block_type_id
.
Source code in src/prefect/client/schemas/filters.py
736 737 738 739 740 741 |
|
BlockDocumentFilterId
Bases: PrefectBaseModel
Filter by BlockDocument.id
.
Source code in src/prefect/client/schemas/filters.py
744 745 746 747 748 749 |
|
BlockDocumentFilterIsAnonymous
Bases: PrefectBaseModel
Filter by BlockDocument.is_anonymous
.
Source code in src/prefect/client/schemas/filters.py
725 726 727 728 729 730 731 732 733 |
|
BlockDocumentFilterName
Bases: PrefectBaseModel
Filter by BlockDocument.name
.
Source code in src/prefect/client/schemas/filters.py
752 753 754 755 756 757 758 759 760 761 762 763 764 765 |
|
BlockSchemaFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter BlockSchemas
Source code in src/prefect/client/schemas/filters.py
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 |
|
BlockSchemaFilterBlockTypeId
Bases: PrefectBaseModel
Filter by BlockSchema.block_type_id
.
Source code in src/prefect/client/schemas/filters.py
669 670 671 672 673 674 |
|
BlockSchemaFilterCapabilities
Bases: PrefectBaseModel
Filter by BlockSchema.capabilities
Source code in src/prefect/client/schemas/filters.py
685 686 687 688 689 690 691 692 693 694 695 |
|
BlockSchemaFilterId
Bases: PrefectBaseModel
Filter by BlockSchema.id
Source code in src/prefect/client/schemas/filters.py
677 678 679 680 681 682 |
|
BlockSchemaFilterVersion
Bases: PrefectBaseModel
Filter by BlockSchema.capabilities
Source code in src/prefect/client/schemas/filters.py
698 699 700 701 702 703 704 705 |
|
BlockTypeFilter
Bases: PrefectBaseModel
Filter BlockTypes
Source code in src/prefect/client/schemas/filters.py
657 658 659 660 661 662 663 664 665 666 |
|
BlockTypeFilterName
Bases: PrefectBaseModel
Filter by BlockType.name
Source code in src/prefect/client/schemas/filters.py
635 636 637 638 639 640 641 642 643 644 645 646 |
|
BlockTypeFilterSlug
Bases: PrefectBaseModel
Filter by BlockType.slug
Source code in src/prefect/client/schemas/filters.py
649 650 651 652 653 654 |
|
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 |
|
DeploymentFilterConcurrencyLimit
Bases: PrefectBaseModel
Filter by Deployment.concurrency_limit
.
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
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 |
|
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
801 802 803 804 805 806 807 |
|
FlowRunNotificationPolicyFilterIsActive
Bases: PrefectBaseModel
Filter by FlowRunNotificationPolicy.is_active
.
Source code in src/prefect/client/schemas/filters.py
790 791 792 793 794 795 796 797 798 |
|
LogFilter
Bases: PrefectBaseModel
, OperatorMixin
Filter logs. Only logs matching all criteria will be returned
Source code in src/prefect/client/schemas/filters.py
600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 |
|
LogFilterFlowRunId
Bases: PrefectBaseModel
Filter by Log.flow_run_id
.
Source code in src/prefect/client/schemas/filters.py
584 585 586 587 588 589 |
|
LogFilterLevel
Bases: PrefectBaseModel
Filter by Log.level
.
Source code in src/prefect/client/schemas/filters.py
555 556 557 558 559 560 561 562 563 564 565 566 567 568 |
|
LogFilterName
Bases: PrefectBaseModel
Filter by Log.name
.
Source code in src/prefect/client/schemas/filters.py
545 546 547 548 549 550 551 552 |
|
LogFilterTaskRunId
Bases: PrefectBaseModel
Filter by Log.task_run_id
.
Source code in src/prefect/client/schemas/filters.py
592 593 594 595 596 597 |
|
LogFilterTimestamp
Bases: PrefectBaseModel
Filter by Log.timestamp
.
Source code in src/prefect/client/schemas/filters.py
571 572 573 574 575 576 577 578 579 580 581 |
|
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
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 |
|
VariableFilterId
Bases: PrefectBaseModel
Filter by Variable.id
.
Source code in src/prefect/client/schemas/filters.py
1085 1086 1087 1088 1089 1090 |
|
VariableFilterName
Bases: PrefectBaseModel
Filter by Variable.name
.
Source code in src/prefect/client/schemas/filters.py
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 |
|
VariableFilterTags
Bases: PrefectBaseModel
, OperatorMixin
Filter by Variable.tags
.
Source code in src/prefect/client/schemas/filters.py
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 |
|
WorkPoolFilterId
Bases: PrefectBaseModel
Filter by WorkPool.id
.
Source code in src/prefect/client/schemas/filters.py
852 853 854 855 856 857 |
|
WorkPoolFilterName
Bases: PrefectBaseModel
Filter by WorkPool.name
.
Source code in src/prefect/client/schemas/filters.py
860 861 862 863 864 865 |
|
WorkPoolFilterType
Bases: PrefectBaseModel
Filter by WorkPool.type
.
Source code in src/prefect/client/schemas/filters.py
868 869 870 871 872 873 |
|
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
839 840 841 842 843 844 845 846 847 848 849 |
|
WorkQueueFilterId
Bases: PrefectBaseModel
Filter by WorkQueue.id
.
Source code in src/prefect/client/schemas/filters.py
810 811 812 813 814 815 816 |
|
WorkQueueFilterName
Bases: PrefectBaseModel
Filter by WorkQueue.name
.
Source code in src/prefect/client/schemas/filters.py
819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 |
|
WorkerFilterLastHeartbeatTime
Bases: PrefectBaseModel
Filter by Worker.last_heartbeat_time
.
Source code in src/prefect/client/schemas/filters.py
896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 |
|
WorkerFilterWorkPoolId
Bases: PrefectBaseModel
Filter by Worker.worker_config_id
.
Source code in src/prefect/client/schemas/filters.py
888 889 890 891 892 893 |
|