Skip to content

Conversation

@iamsaswata
Copy link
Owner

Summary

  • Removes duplicate open_data function definition in core.py
  • The function was defined twice: lines 454-592 and 595-733 (exact duplicate)
  • Kept the first occurrence, removed the second

Changes

  • File: imdlib/core.py
  • Lines removed: 139 lines of duplicate code (lines 595-733)

Impact

  • Eliminates code duplication
  • Resolves maintenance issues caused by having two identical function definitions
  • Reduces file size and improves code clarity

Testing

  • No functional changes - identical code removed
  • Existing functionality preserved

Fixed issue where open_data function was defined twice in core.py
(lines 454-592 and 595-733). Removed the second duplicate definition,
keeping only the first occurrence.

This eliminates 139 lines of duplicate code and resolves maintenance
issues caused by having two identical function definitions.
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