(self, user)
return view
Get view for user, i.e. view with the state for the user/sketch.

        Args:
            user: User (instance of timesketch.models.user.User)

        Returns:
            view: Instance of timesketch.models.sketch.View
Get view for user, i.e. view with the state for the user/sketch.
Get view for user i . e . view with the state for the user / sketch .
def get_user_view(self, user):
        """Get view for user, i.e. view with the state for the user/sketch.

        Args:
            user: User (instance of timesketch.models.user.User)

        Returns:
            view: Instance of timesketch.models.sketch.View
        """
        view = View.query.filter(View.user == user, View.name == '',
                                 View.sketch_id == self.id).order_by(
                                     View.created_at.desc()).first()
        return view
def get_user_view ( self , user ) : view = View . query . filter ( View . user == user , View . name == '' , View . sketch_id == self . id ) . order_by ( View . created_at . desc ( ) ) . first ( ) return view