From 345b1a7aa400cb98fda8f6ef506d74b6f5390684 Mon Sep 17 00:00:00 2001 From: timurhai Date: Mon, 26 Jul 2021 20:53:50 +0300 Subject: [PATCH] PDG: Submit Graph As Job got service and ticket settings. This can help to assign cook job on a special host(s) and use a special ticket (licence). References #514. --- afanasy/python/services/hbatch_pdg.py | 10 ++++++++++ icons/tickets/PDG.png | Bin 0 -> 9004 bytes plugins/houdini/otls/afanasyscheduler.hda | Bin 15273 -> 15801 bytes plugins/houdini/pdg/types/afanasyscheduler.py | 3 ++- 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 afanasy/python/services/hbatch_pdg.py create mode 100644 icons/tickets/PDG.png diff --git a/afanasy/python/services/hbatch_pdg.py b/afanasy/python/services/hbatch_pdg.py new file mode 100644 index 000000000..e88e6bdec --- /dev/null +++ b/afanasy/python/services/hbatch_pdg.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +from services import service + +parser = 'generic' + + +class hbatch_pdg(service.service): + """Hython executes PDG cook + """ + pass diff --git a/icons/tickets/PDG.png b/icons/tickets/PDG.png new file mode 100644 index 0000000000000000000000000000000000000000..0f4e4b0824e58db51f367c06c98dd28d5c2dbdbf GIT binary patch literal 9004 zcmbW7^;aBCu=j^$k;UEJgA;-T32wnP5F7#oCxJzSyIX>L2)<~Lpo@D5B)BbZL4)hN z&;0}5bMF0N=FFMu>6xkOuJ5PobhMU+5-t`M761UaD$4RY0DywL1cETpk>}0EW~2cn z++I#jOGQqO!R@1~t-X^C0B|JxCrc{#O4Ib48-HUWB@|cwFr?Mr9b!nR1d}D?40~Is zkCCd{RiGl5vcAsILPm3MSS8jXda#e+#0;TlaB{wfOVAW*qQ1{RjV-GR<12PLk=>BKM3Z#WfDIFmxe38uMK(!I8aA>RT5d0XE=tZ* zk`H>?LL*mprUs&}9}KvJW?I<;Ejemn-0r#C{3(WgMDmzP+H#bnhEbCh$yQA2cM$x* zzSG#vlwo~z=0Q+}7URo+6RGQEm{F8wt4bmG*Mrp}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