renamed WeeklyTagChart.get() to WeeklyTagChart.create_from_data()

This commit is contained in:
Abhinav Sarkar 2009-01-02 13:38:24 +00:00
parent 486638387c
commit 2803143af4
2 changed files with 2 additions and 2 deletions

View File

@ -589,7 +589,7 @@ class User(LastfmBase, Cacheable, Shoutable):
start = None,
end = None):
WeeklyChart._check_weekly_chart_params({}, start, end)
return WeeklyTagChart.get(self._api, self, start, end)
return WeeklyTagChart.create_from_data(self._api, self, start, end)
@LastfmBase.cached_property
def recent_weekly_tag_chart(self):

View File

@ -265,7 +265,7 @@ class WeeklyTagChart(WeeklyChart):
return self._tags
@staticmethod
def get(api, subject, start, end):
def create_from_data(api, subject, start, end):
w = WeeklyChart(
subject = subject,
start = start,