View the link of the current task

        :returns: None
        :rtype: None
        :raises: None
765324
def task_view_link(self, ):
        
        if not self.cur_task:
            return
        e = self.cur_task.element
        if isinstance(e, djadapter.models.Asset):
            self.view_asset(e)
        else:
            self.view_shot(e)
623152
def _connected(self, link_uri):
        
        print('Connected to %s' % link_uri)

        # Print the param TOC
        p_toc = self._cf.param.toc.toc
        for group in sorted(p_toc.keys()):
            print('{}'.format(group))
            for param in sorted(p_toc[group].keys()):
                print('\t{}'.format(param))
                self._param_check_list.append('{0}.{1}'.format(group, param))
            self._param_groups.append('{}'.format(group))
            # For every group, register the callback
            self._cf.param.add_update_callback(group=group, name=None,
                                               cb=self._param_callback)

        # You can also register a callback for a specific group.name combo
        self._cf.param.add_update_callback(group='cpu', name='flash',
                                           cb=self._cpu_flash_callback)

        print('')
106449
def link_text(cls):
        
        link = cls.__name__
        if link.endswith('View'):
            link = link[:-4]
        return link
850605
def get_link(self, text=None, *args, **kwargs):
        
        return helpers.find(
            self.parsed, _link_ptn, text=text, *args, **kwargs
        )
568644
def list_links(self, *args, **kwargs):
        
        print("Links in the current page:")
        for l in self.links(*args, **kwargs):
            print("    ", l)
64351
def links(self):
        
        if not self._responses:
            return None
        if 'Link' in self._responses[-1].headers:
            links = []
            for l in headers.parse_link(self._responses[-1].headers['Link']):
                link = {'target': l.target}
                link.update({k: v for (k, v) in l.parameters})
                links.append(link)
            return links
1209979
def show(self):
        
        self._verify_entrypoint_selected()

        if self.current_issue_instance_id != -1:
            self._show_current_issue_instance()
            return

        self._show_current_trace_frame()
863224
async def peek(self, task_id):
        

        args = (task_id,)
        res = await self.conn.call(self.__funcs['peek'], args)
        return self._create_task(res.body)
1122730
def show(self):
        
        self.btn_done.clicked.connect(lambda: self.btn_done.setText('update'))
        QtWidgets.QDialog.show(self)
1115411
async def peek(self):
        
        the_tuple = await self.queue.peek(self.tube, self.task_id)

        self.update_from_tuple(the_tuple)

        return True
948680
def get_current_searchpath(self):
        
        idx = self.currentIndex()
        if idx == CWD:
            return self.path
        elif idx == PROJECT:
            return self.project_path
        elif idx == FILE_PATH:
            return self.file_path
        else:
            return self.external_path
1251434
def _GetLink(self):
    
    if self._link is None:
      if self._tar_info:
        self._link = self._tar_info.linkname

    return self._link
693072
def visible(self):
        
        context_state = api.content.get_view(context=self.context,
                                             request=self.request,
                                             name="plone_context_state")
        url = context_state.current_base_url()
        return url.endswith('@@sharing')
1075166
def prjs_view_prj(self, *args, **kwargs):
        
        i = self.prjs_tablev.currentIndex()
        item = i.internalPointer()
        if item:
            prj = item.internal_data()
            self.view_prj(prj)
1320420
def lookup_task(self, task):
        
        if isinstance(task, str):
            try:
                return self[task]
            except KeyError:
                pass
        raise TaskError('Unknown task %s' % task)
1045523
def get_my_choices_tasks(current_proj):
    

    task_list = []
    tasks = Task.objects.all()
    for task in tasks:
        if task.project == current_proj:
            task_list.append(task)

    task_tuple = []
    counter = 1
    for task in task_list:
        task_tuple.append((counter, task))
        counter = counter + 1
    return task_tuple
553703
def currentVersion(self):
        
        if self._currentVersion is None:
            self.__init(self._url)
        return self._currentVersion