You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
Everything was working, but at some point on queries on variations of TOPs where i use Serialize.playlist or playlists, started to cause a serialization error, what could be the issue?
# print check 1 not printing
top_w = top_world_genres(self.shazam, genre)
for track in top_w['data']:
try:
serialize_w = Serialize.playlist(data=track)
print(f'check 1 {serialize_w}')
have = self.check_track(serialize_w.attributes.artist_name, serialize_w.attributes.name, chart)
track_info = {
"artist": serialize_w.attributes.artist_name,
"tname": serialize_w.attributes.name,
"have_track": have
}
top_list.append(track_info)
except Exception as e:
print(str(e), 'error Shazam')
continue
and error for each track in top_w in Exception print: 1 validation error for PlayList
attributes -> hasCredits
field required (type=value_error.missing)
The text was updated successfully, but these errors were encountered:
EvaBruh
changed the title
Error Question
Error Question (Serialize)
Oct 22, 2024
Hi.
Everything was working, but at some point on queries on variations of TOPs where i use Serialize.playlist or playlists, started to cause a serialization error, what could be the issue?
and error for each track in top_w in Exception print:
1 validation error for PlayList
attributes -> hasCredits
field required (type=value_error.missing)
The text was updated successfully, but these errors were encountered: