コード例 #1
0
 def get_all_publish_by_search(self, show_name, shot_name, search_pattern):
     return unity.get_response("{}/api/unity/{}/{}?published=all&{}".format(
         cfg.POLY_SERVER, show_name, shot_name, search_pattern))
コード例 #2
0
 def get_latest_asset_publish_by_search(self, show_name, search_pattern):
     return unity.get_response(
         "{}/api/unity/{}/assets?published=latest&{}".format(
             cfg.POLY_SERVER, show_name, search_pattern))
コード例 #3
0
 def get_unity_response(self, url):
     return unity.get_response(url)
コード例 #4
0
 def get_all_publish_assets_by_task(self, show_name, task_name):
     return unity.get_response(
         "{}/api/unity/{}/assets?published=all&task={}".format(
             cfg.POLY_SERVER, show_name, task_name))
コード例 #5
0
 def get_latest_publish_by_task(self, show_name, shot_name, task_name):
     return unity.get_response(
         "{}/api/unity/{}/{}?published=latest&task={}".format(
             cfg.POLY_SERVER, show_name, shot_name, task_name))
コード例 #6
0
 def get_all_publish_shot(self, show_name, shot_name):
     return unity.get_response("{}/api/unity/{}/{}?published=all".format(
         cfg.POLY_SERVER, show_name, shot_name))
コード例 #7
0
 def get_all_latest_publish_asset(self, show_name):
     return unity.get_response(
         "{}/api/unity/{}/assets?published=latest".format(
             cfg.POLY_SERVER, show_name))