{"action":"created","comment":{"url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/comments/63796495","id":63796495,"diff_hunk":"@@ -0,0 +1,362 @@\n+# Copyright (c) 2015 Shotgun Software Inc.\n+#\n+# CONFIDENTIAL AND PROPRIETARY\n+#\n+# This work is provided \"AS IS\" and subject to the Shotgun Pipeline Toolkit\n+# Source Code License included in this distribution package. See LICENSE.\n+# By accessing, using, copying or modifying this work you indicate your\n+# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights\n+# not expressly granted therein are reserved by Shotgun Software Inc.\n+\n+import sgtk\n+from sgtk.platform.qt import QtCore, QtGui\n+\n+shotgun_data = sgtk.platform.import_framework(\"tk-framework-shotgunutils\", \"shotgun_data\")\n+shotgun_model = sgtk.platform.import_framework(\"tk-framework-shotgunutils\", \"shotgun_model\")\n+\n+class GlobalSearchCompleter(QtGui.QCompleter):\n+    \"\"\"\n+\n+    A standalone ``QCompleter`` class for matching SG entities to typed text.\n+\n+    :signal: ``entity_selected(str, int)`` - Provided for backward compatibility.\n+      ``entity_activated`` is emitted at the same time with an additional ``name``\n+      value. Fires when someone selects an entity inside the search results. The\n+      returned parameters are entity ``type`` and entity ``id``.\n+\n+    :signal: ``entity_activated(str, int, str)`` - Fires when someone activates an\n+      entity inside the search results. Essentially the same as ``entity_selected``\n+      only the parameters returned are ``type``, ``id`` **and** ``name``.\n+\n+    \"\"\"\n+\n+    # emitted when shotgun has been updated\n+    entity_selected = QtCore.Signal(str, int)\n+    entity_activated = QtCore.Signal(str, int, str)\n+\n+    # custom roles for the model that tracks the auto completion results\n+    SG_DATA_ROLE = QtCore.Qt.UserRole + 1\n+    MODE_ROLE = QtCore.Qt.UserRole + 2\n+\n+    # different items in the auto complete list can have\n+    # a different meaning, so track those here too\n+    (MODE_LOADING, MODE_NOT_FOUND, MODE_RESULT) = range(3)\n+\n+    def __init__(self, parent=None):\n+\n+        super(GlobalSearchCompleter, self).__init__(parent)\n+\n+        self.setMaxVisibleItems(10)\n+        self.setCaseSensitivity(QtCore.Qt.CaseInsensitive)\n+        self.setCompletionMode(QtGui.QCompleter.UnfilteredPopupCompletion)\n+\n+        # set up some handy references\n+        self._bundle = sgtk.platform.current_bundle()\n+\n+        self.__sg_data_retriever = None\n+\n+        self._processing_id = None\n+        self._thumb_map = {}\n+        self._default_icon = QtGui.QPixmap(\":/tk_framework_qtwidgets.global_search_widget/rect_512x400.png\")\n+\n+        # configure popup data source\n+        self.setModel(QtGui.QStandardItemModel(self))\n+        self._clear_model()\n+\n+        self._entity_search_criteria = {\n+            \"Asset\": [],\n+            \"Shot\": [],\n+            \"Task\": [],\n+            \"HumanUser\": [[\"sg_status_list\", \"is\", \"act\"]],\n+            \"Group\": [],\n+            \"ClientUser\": [[\"sg_status_list\", \"is\", \"act\"]],\n+            \"ApiUser\": [],\n+            \"Version\": [],\n+            \"PublishedFile\": [],\n+        }\n+\n+    def destroy(self):\n+        \"\"\"\n+        Should be called before the widget is closed\n+        \"\"\"\n+        if self.__sg_data_retriever:\n+            self.__sg_data_retriever.stop()\n+            self.__sg_data_retriever.work_completed.disconnect(self.__on_worker_signal)\n+            self.__sg_data_retriever.work_failure.disconnect(self.__on_worker_failure)\n+            self.__sg_data_retriever = None\n+\n+    def get_current_result(self):\n+        model_index = self.popup().currentIndex()\n+        return self.get_result(model_index)\n+\n+    def get_result(self, model_index):\n+\n+        # make sure that the user selected an actual shotgun item.\n+        # if they just selected the \"no items found\" or \"loading please hold\"\n+        # items, just ignore it.\n+        mode = shotgun_model.get_sanitized_data(model_index, self.MODE_ROLE)\n+        if mode == self.MODE_RESULT:\n+\n+            # get the payload\n+            data = shotgun_model.get_sanitized_data(model_index, self.SG_DATA_ROLE)\n+\n+            # Example of data stored in the data role:\n+            #\n+            # {'status': 'vwd',\n+            #  'name': 'bunny_010_0050_comp_v001',\n+            #  'links': ['Shot', 'bunny_010_0050'],\n+            #  'image': 'https://xxx',\n+            #  'project_id': 65,\n+            #  'type': 'Version',\n+            #  'id': 99}\n+\n+            # NOTE: this data format differs from what is typically returned by\n+            # the shotgun python-api. this data may be formalized at some point\n+            # but for now, only expose the minimum information.\n+\n+            return {\n+                \"type\": data[\"type\"],\n+                \"id\": data[\"id\"],\n+                \"name\": data[\"name\"],\n+            }\n+        else:\n+            return None\n+\n+    def search(self, text):\n+        \"\"\"\n+        Triggers the popup to display results based on the supplied text.\n+\n+        :param text: current contents of editor\n+        \"\"\"\n+        if len(text) < 3:\n+            # global search wont work with shorter than 3 len strings\n+            # for these cases, clear the auto completer model fully\n+            # there is no more work to do\n+            self._clear_model(add_loading_item=False)\n+            return\n+\n+        # now we are about to populate the model with data\n+        # and therefore trigger the completer to pop up.\n+        #\n+        # The completer seems to have some internal properties\n+        # which are transitory and won't last between sessions.\n+        # for these, we have to set them up every time the\n+        # completion process is about to start it seems.\n+\n+        # tell completer to render matches using our delegate\n+        # configure how the popup should look\n+\n+        # deferred import to help documentation generation.\n+        from .search_result_delegate import SearchResultDelegate\n+\n+        popup = self.popup()\n+        self._delegate = SearchResultDelegate(popup)\n+        popup.setItemDelegate(self._delegate)\n+\n+        # try to disconnect and reconnect the activated signal\n+        # it seems this signal is lost every time the widget\n+        # looses focus.\n+        try:\n+            self.activated[QtCore.QModelIndex].disconnect(self._on_select)\n+        except:","path":"python/global_search_completer/global_search_completer.py","position":161,"original_position":161,"commit_id":"18389a6ccc866bf587586fa41282230f8273b9f5","original_commit_id":"18389a6ccc866bf587586fa41282230f8273b9f5","user":{"login":"thebeeland","id":4913787,"avatar_url":"https://avatars.githubusercontent.com/u/4913787?v=3","gravatar_id":"","url":"https://api.github.com/users/thebeeland","html_url":"https://github.com/thebeeland","followers_url":"https://api.github.com/users/thebeeland/followers","following_url":"https://api.github.com/users/thebeeland/following{/other_user}","gists_url":"https://api.github.com/users/thebeeland/gists{/gist_id}","starred_url":"https://api.github.com/users/thebeeland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebeeland/subscriptions","organizations_url":"https://api.github.com/users/thebeeland/orgs","repos_url":"https://api.github.com/users/thebeeland/repos","events_url":"https://api.github.com/users/thebeeland/events{/privacy}","received_events_url":"https://api.github.com/users/thebeeland/received_events","type":"User","site_admin":false},"body":"use `except Exception:` instead","created_at":"2016-05-18T22:47:44Z","updated_at":"2016-05-18T22:47:44Z","html_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets/pull/22#discussion_r63796495","pull_request_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/comments/63796495"},"html":{"href":"https://github.com/shotgunsoftware/tk-framework-qtwidgets/pull/22#discussion_r63796495"},"pull_request":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/22","id":70399771,"html_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets/pull/22","diff_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets/pull/22.diff","patch_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets/pull/22.patch","issue_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues/22","number":22,"state":"open","locked":false,"title":"34772 Adds editing functionality to shotgun field widgets","user":{"login":"josh-t","id":2604646,"avatar_url":"https://avatars.githubusercontent.com/u/2604646?v=3","gravatar_id":"","url":"https://api.github.com/users/josh-t","html_url":"https://github.com/josh-t","followers_url":"https://api.github.com/users/josh-t/followers","following_url":"https://api.github.com/users/josh-t/following{/other_user}","gists_url":"https://api.github.com/users/josh-t/gists{/gist_id}","starred_url":"https://api.github.com/users/josh-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh-t/subscriptions","organizations_url":"https://api.github.com/users/josh-t/orgs","repos_url":"https://api.github.com/users/josh-t/repos","events_url":"https://api.github.com/users/josh-t/events{/privacy}","received_events_url":"https://api.github.com/users/josh-t/received_events","type":"User","site_admin":false},"body":"These changes build on the work previously done by @robblau to introduce editing capabilities to all the SG field types. \r\n\r\n![all_widgets](https://cloud.githubusercontent.com/assets/2604646/15367202/faf82182-1cf5-11e6-90c8-ae0846905366.png)\r\n\r\n\r\nThe changes include:\r\n\r\n- editor widgets for all field types where editing is supported by the API (url field still in progress)\r\n- introduction of bubble widget base classes for use by multi-entity editor and tag editor (for whenever tag editing becomes supported by the API)\r\n- simplification of the manager class to accept a `widget_type` argument to methods rather than having separate method for each type (extra eyes would be good here to see if this feels like the right interface)\r\n- a new class that wraps the display/editor widgets for a field into an `EDITABLE` type that allows users to switch between display and editing\r\n- a matching class that wraps the display widget of a read only field and shows an indicator that editing is not available for that field\r\n- sphinx docs for the field widgets and related classes with lots of screenshots\r\n- separation of the completer from the `global_search_widget` into a reusable `global_search_completer`. (widget API remains unchanged)\r\n- global search widget/delegate moved under completer module (they weren't exposed via API)\r\n- completer still needs some documentation work\r\n- elided label changes to make it work in grid/form layouts (needs extra scrutiny)","created_at":"2016-05-17T17:45:00Z","updated_at":"2016-05-18T22:47:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/22/commits","review_comments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/22/comments","review_comment_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues/22/comments","statuses_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/statuses/18389a6ccc866bf587586fa41282230f8273b9f5","head":{"label":"shotgunsoftware:34772_editor_widgets","ref":"34772_editor_widgets","sha":"18389a6ccc866bf587586fa41282230f8273b9f5","user":{"login":"shotgunsoftware","id":317894,"avatar_url":"https://avatars.githubusercontent.com/u/317894?v=3","gravatar_id":"","url":"https://api.github.com/users/shotgunsoftware","html_url":"https://github.com/shotgunsoftware","followers_url":"https://api.github.com/users/shotgunsoftware/followers","following_url":"https://api.github.com/users/shotgunsoftware/following{/other_user}","gists_url":"https://api.github.com/users/shotgunsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/shotgunsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shotgunsoftware/subscriptions","organizations_url":"https://api.github.com/users/shotgunsoftware/orgs","repos_url":"https://api.github.com/users/shotgunsoftware/repos","events_url":"https://api.github.com/users/shotgunsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/shotgunsoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":19910716,"name":"tk-framework-qtwidgets","full_name":"shotgunsoftware/tk-framework-qtwidgets","owner":{"login":"shotgunsoftware","id":317894,"avatar_url":"https://avatars.githubusercontent.com/u/317894?v=3","gravatar_id":"","url":"https://api.github.com/users/shotgunsoftware","html_url":"https://github.com/shotgunsoftware","followers_url":"https://api.github.com/users/shotgunsoftware/followers","following_url":"https://api.github.com/users/shotgunsoftware/following{/other_user}","gists_url":"https://api.github.com/users/shotgunsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/shotgunsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shotgunsoftware/subscriptions","organizations_url":"https://api.github.com/users/shotgunsoftware/orgs","repos_url":"https://api.github.com/users/shotgunsoftware/repos","events_url":"https://api.github.com/users/shotgunsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/shotgunsoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets","description":"A collection of Toolkit related QT Widgets","fork":false,"url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets","forks_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/forks","keys_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/teams","hooks_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/hooks","issue_events_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues/events{/number}","events_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/events","assignees_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/assignees{/user}","branches_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/branches{/branch}","tags_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/tags","blobs_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/refs{/sha}","trees_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/statuses/{sha}","languages_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/languages","stargazers_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/stargazers","contributors_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/contributors","subscribers_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/subscribers","subscription_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/subscription","commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/commits{/sha}","git_commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/commits{/sha}","comments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/comments{/number}","issue_comment_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues/comments{/number}","contents_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/contents/{+path}","compare_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/merges","archive_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/downloads","issues_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues{/number}","pulls_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls{/number}","milestones_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/milestones{/number}","notifications_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/labels{/name}","releases_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/releases{/id}","deployments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/deployments","created_at":"2014-05-18T13:12:00Z","updated_at":"2016-03-07T00:35:48Z","pushed_at":"2016-05-18T20:58:47Z","git_url":"git://github.com/shotgunsoftware/tk-framework-qtwidgets.git","ssh_url":"git@github.com:shotgunsoftware/tk-framework-qtwidgets.git","clone_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets.git","svn_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets","homepage":"","size":43297,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"shotgunsoftware:34751_rv_shotgunreview","ref":"34751_rv_shotgunreview","sha":"d171846143e4841edcfa8d0317bb2f0e2445ccdd","user":{"login":"shotgunsoftware","id":317894,"avatar_url":"https://avatars.githubusercontent.com/u/317894?v=3","gravatar_id":"","url":"https://api.github.com/users/shotgunsoftware","html_url":"https://github.com/shotgunsoftware","followers_url":"https://api.github.com/users/shotgunsoftware/followers","following_url":"https://api.github.com/users/shotgunsoftware/following{/other_user}","gists_url":"https://api.github.com/users/shotgunsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/shotgunsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shotgunsoftware/subscriptions","organizations_url":"https://api.github.com/users/shotgunsoftware/orgs","repos_url":"https://api.github.com/users/shotgunsoftware/repos","events_url":"https://api.github.com/users/shotgunsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/shotgunsoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":19910716,"name":"tk-framework-qtwidgets","full_name":"shotgunsoftware/tk-framework-qtwidgets","owner":{"login":"shotgunsoftware","id":317894,"avatar_url":"https://avatars.githubusercontent.com/u/317894?v=3","gravatar_id":"","url":"https://api.github.com/users/shotgunsoftware","html_url":"https://github.com/shotgunsoftware","followers_url":"https://api.github.com/users/shotgunsoftware/followers","following_url":"https://api.github.com/users/shotgunsoftware/following{/other_user}","gists_url":"https://api.github.com/users/shotgunsoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/shotgunsoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shotgunsoftware/subscriptions","organizations_url":"https://api.github.com/users/shotgunsoftware/orgs","repos_url":"https://api.github.com/users/shotgunsoftware/repos","events_url":"https://api.github.com/users/shotgunsoftware/events{/privacy}","received_events_url":"https://api.github.com/users/shotgunsoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets","description":"A collection of Toolkit related QT Widgets","fork":false,"url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets","forks_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/forks","keys_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/teams","hooks_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/hooks","issue_events_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues/events{/number}","events_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/events","assignees_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/assignees{/user}","branches_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/branches{/branch}","tags_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/tags","blobs_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/refs{/sha}","trees_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/statuses/{sha}","languages_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/languages","stargazers_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/stargazers","contributors_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/contributors","subscribers_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/subscribers","subscription_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/subscription","commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/commits{/sha}","git_commits_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/git/commits{/sha}","comments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/comments{/number}","issue_comment_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues/comments{/number}","contents_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/contents/{+path}","compare_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/merges","archive_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/downloads","issues_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues{/number}","pulls_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls{/number}","milestones_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/milestones{/number}","notifications_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/labels{/name}","releases_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/releases{/id}","deployments_url":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/deployments","created_at":"2014-05-18T13:12:00Z","updated_at":"2016-03-07T00:35:48Z","pushed_at":"2016-05-18T20:58:47Z","git_url":"git://github.com/shotgunsoftware/tk-framework-qtwidgets.git","ssh_url":"git@github.com:shotgunsoftware/tk-framework-qtwidgets.git","clone_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets.git","svn_url":"https://github.com/shotgunsoftware/tk-framework-qtwidgets","homepage":"","size":43297,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/22"},"html":{"href":"https://github.com/shotgunsoftware/tk-framework-qtwidgets/pull/22"},"issue":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues/22"},"comments":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/shotgunsoftware/tk-framework-qtwidgets/statuses/18389a6ccc866bf587586fa41282230f8273b9f5"}}}}