コード例 #1
0
ファイル: client.py プロジェクト: mkolar/pyblish-rpc
    def process(self, plugin, context, instance=None, action=None):
        """Transmit a `process` request to host

        Arguments:
            plugin (PluginProxy): Plug-in to process
            context (ContextProxy): Filtered context
            instance (InstanceProxy, optional): Instance to process
            action (str, optional): Action to process

        """

        plugin = plugin.to_json()
        instance = instance.to_json() if instance is not None else None
        return self._proxy.process(plugin, instance, action)
コード例 #2
0
ファイル: client.py プロジェクト: mkolar/pyblish-rpc
    def process(self, plugin, context, instance=None, action=None):
        """Transmit a `process` request to host

        Arguments:
            plugin (PluginProxy): Plug-in to process
            context (ContextProxy): Filtered context
            instance (InstanceProxy, optional): Instance to process
            action (str, optional): Action to process

        """

        plugin = plugin.to_json()
        instance = instance.to_json() if instance is not None else None
        return self._proxy.process(plugin, instance, action)
コード例 #3
0
ファイル: client.py プロジェクト: mkolar/pyblish-rpc
 def repair(self, plugin, context, instance=None):
     plugin = plugin.to_json()
     instance = instance.to_json() if instance is not None else None
     return self._proxy.repair(plugin, instance)
コード例 #4
0
ファイル: client.py プロジェクト: mkolar/pyblish-rpc
 def repair(self, plugin, context, instance=None):
     plugin = plugin.to_json()
     instance = instance.to_json() if instance is not None else None
     return self._proxy.repair(plugin, instance)
コード例 #5
0
 def repair(self, plugin, context, instance=None):
     plugin = plugin.to_json()
     instance = instance.to_json() if instance is not None else None
     return self._dispatch("repair", args=[plugin, instance])
コード例 #6
0
ファイル: client.py プロジェクト: tokejepsen/pyblish-qml
 def repair(self, plugin, context, instance=None):
     plugin = plugin.to_json()
     instance = instance.to_json() if instance is not None else None
     return self._dispatch("repair", args=[plugin, instance])