Exemplo n.º 1
0
    def read(self):
        """As reading organization and location is not atomic operation: needs
        mouse moves, clicks, etc, and this widget is included in every view -
        calling :meth:`airgun.views.common.BaseLoggedInView.read` for any view
        will trigger reading values of :class:`ContextSelector`. Thus, to avoid
        significant performance degradation it should not be readable.

        Use :meth:`current_org` and :meth:`current_loc` instead.
        """
        do_not_read_this_widget()
Exemplo n.º 2
0
 def read(self):
     """Do not attempt to read hidden tab contents"""
     if not self.is_displayed:
         do_not_read_this_widget()
     return super().read()
Exemplo n.º 3
0
 def read(self):
     do_not_read_this_widget()
Exemplo n.º 4
0
 def read(self):
     if self.is_closed:
         do_not_read_this_widget()
     return super(Accordion, self).read()
Exemplo n.º 5
0
 def read(self):
     if self.is_closed:
         do_not_read_this_widget()
     return super(Accordion, self).read()
 def read(self):
     text = self.text
     if text is None:
         do_not_read_this_widget()
     return text
Exemplo n.º 7
0
 def read(self):
     """Widgets has no fields to read"""
     do_not_read_this_widget()
Exemplo n.º 8
0
 def read(self, *args, **kwargs):
     do_not_read_this_widget()
Exemplo n.º 9
0
 def read(self):
     """There is no need to read values for this widget"""
     do_not_read_this_widget()
Exemplo n.º 10
0
 def read(self):
     do_not_read_this_widget()