Skip to content

Fix export_data.py broken method calls and add CLAUDE.md - #1

Open
drtamar wants to merge 2 commits into
mainfrom
claude/analyze-import-skills-QlyHi
Open

Fix export_data.py broken method calls and add CLAUDE.md#1
drtamar wants to merge 2 commits into
mainfrom
claude/analyze-import-skills-QlyHi

Conversation

@drtamar

@drtamar drtamar commented Apr 20, 2026

Copy link
Copy Markdown
Owner
  • Replace non-existent get_user_top_artists()/get_user_top_tracks() calls
    with the correct get_top_items(item_type=...) method in export_data.py
  • Fix type hint: any -> Any (add Any to typing imports)
  • Add CLAUDE.md with commands, architecture overview, and credential flow
    guidance for future Claude Code sessions

https://claude.ai/code/session_01KDZHKzQGxs3YFL39cvkReU

- Replace non-existent get_user_top_artists()/get_user_top_tracks() calls
  with the correct get_top_items(item_type=...) method in export_data.py
- Fix type hint: `any` -> `Any` (add Any to typing imports)
- Add CLAUDE.md with commands, architecture overview, and credential flow
  guidance for future Claude Code sessions

https://claude.ai/code/session_01KDZHKzQGxs3YFL39cvkReU

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a CLAUDE.md file to provide architectural guidance and command references for Claude Code. Additionally, it refactors spotify-api/scripts/export_data.py to use the consolidated get_top_items method for fetching artists and tracks, and improves type hinting by using Any from the typing module. I have no feedback to provide.

- Fix get_user_top_artists/tracks -> get_top_items(item_type=...) in export_data.py
- Add Any to typing imports and fix data: any -> data: Any type hint
- Add CLAUDE.md with commands, architecture, and credentials flow
- Add session_summary.json for next session context handoff

https://claude.ai/code/session_01KDZHKzQGxs3YFL39cvkReU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants