| Total Complexity | 2 | 
| Total Lines | 10 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | import logging  | 
            ||
| 8 | class GwWebPattern(GwBasePattern):  | 
            ||
| 9 | |||
| 10 | def __init__(self, *args, **kwargs):  | 
            ||
| 11 | super().__init__(*args, **kwargs)  | 
            ||
| 12 | if not hasattr(self.app, "web"):  | 
            ||
| 13 | self.app.web = WebApplication(self.app)  | 
            ||
| 14 | |||
| 15 | #: Instance of :class:`~.WebPlugin`.  | 
            ||
| 16 | #: Provides functions to manage web based objects  | 
            ||
| 17 | self.web = WebPlugin(self)  | 
            ||
| 18 | |||
| 38 |