Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: simplify sheet loading related code #199

Merged
merged 5 commits into from
Mar 6, 2024

Conversation

lukapeschke
Copy link
Collaborator

A bit of refactoring to have a single entrypoint for sheet loading and make future feature development easier

@lukapeschke lukapeschke added enhancement New feature or request ✋ need review ✋ 🐍 python 🐍 Pull requests that edit Python code 🦀 rust 🦀 Pull requests that edit Rust code labels Mar 5, 2024
@lukapeschke lukapeschke requested a review from PrettyWood March 5, 2024 16:40
@lukapeschke lukapeschke self-assigned this Mar 5, 2024
@lukapeschke
Copy link
Collaborator Author

@PrettyWood curious what you think about this. Commits should be pretty independent so I can revert one or several in case you disagree with some decisions

@@ -112,9 +112,9 @@ def sheet_names(self) -> list[str]:
"""The list of sheet names"""
return self._reader.sheet_names

def load_sheet_by_name(
def load_sheet(
Copy link
Member

Choose a reason for hiding this comment

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

Yup love that

@lukapeschke lukapeschke merged commit b610f37 into main Mar 6, 2024
22 checks passed
@lukapeschke lukapeschke deleted the simplify-sheet-loading branch March 6, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦀 rust 🦀 Pull requests that edit Rust code enhancement New feature or request 🐍 python 🐍 Pull requests that edit Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants