Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 5, 2017
1 parent 6210351 commit c2f9bac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions superset/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import pickle
import re
import textwrap
from collections import namedtuple
from copy import deepcopy, copy
from datetime import timedelta, datetime, date

Expand Down Expand Up @@ -69,14 +68,13 @@ class QueryResult(object):

"""Object returned by the query interface"""

def __init__(
def __init__( # noqa
self,
df,
query,
duration,
status=QueryStatus.SUCCESS,
error_message=None
):
error_message=None):
self.df = df
self.query = query
self.duration = duration
Expand Down
1 change: 0 additions & 1 deletion superset/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ def get_payload(self, force=False):
payload['is_cached'] = is_cached
return payload


@property
def data(self):
"""This is the data object serialized to the js layer"""
Expand Down

0 comments on commit c2f9bac

Please sign in to comment.