renamed WeeklyTagChart.get() to WeeklyTagChart.create_from_data()
This commit is contained in:
parent
486638387c
commit
2803143af4
|
@ -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):
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue