(sketch)
return last_activity.isoformat()
Returns a date string with the last activity from a sketch.
Returns a date string with the last activity from a sketch.
Returns a date string with the last activity from a sketch .
def get_sketch_last_activity(sketch):
    """Returns a date string with the last activity from a sketch."""
    try:
        last_activity = View.query.filter_by(
            sketch=sketch, name='').order_by(
            View.updated_at.desc()).first().updated_at
    except AttributeError:
        return ''
    return last_activity.isoformat()
def get_sketch_last_activity ( sketch ) : try : last_activity = View . query . filter_by ( sketch = sketch , name = '' ) . order_by ( View . updated_at . desc ( ) ) . first ( ) . updated_at except AttributeError : return '' return last_activity . isoformat ( )