Example #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()
Example #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()
Example #3
0
 def read(self):
     do_not_read_this_widget()
 def read(self):
     if self.is_closed:
         do_not_read_this_widget()
     return super(Accordion, self).read()
Example #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
Example #7
0
 def read(self):
     """Widgets has no fields to read"""
     do_not_read_this_widget()
Example #8
0
 def read(self, *args, **kwargs):
     do_not_read_this_widget()
Example #9
0
 def read(self):
     """There is no need to read values for this widget"""
     do_not_read_this_widget()
 def read(self):
     do_not_read_this_widget()