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

Library extras and refactor S3 #84

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Library extras and refactor S3 #84

wants to merge 14 commits into from

Conversation

javihern98
Copy link
Contributor

Summary of changes

  • Implemented S3 reading using Pandas
  • Defined S3 compatibility as extra
  • Adapted Pyproject.toml to Poetry 2.0

@javihern98 javihern98 linked an issue Feb 23, 2025 that may be closed by this pull request
@javihern98 javihern98 marked this pull request as draft February 23, 2025 12:56
@javihern98
Copy link
Contributor Author

Awaiting to fix bis-med-it/pysdmx#236

@javihern98 javihern98 marked this pull request as ready for review February 23, 2025 13:19
@javihern98 javihern98 requested review from albertohernandez1995 and mla2001 and removed request for albertohernandez1995 February 23, 2025 13:20
Copy link
Contributor

@albertohernandez1995 albertohernandez1995 left a comment

Choose a reason for hiding this comment

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

Code its fine, although I think that we can improve code coverage

@@ -121,31 +121,14 @@ def _pandas_load_csv(components: Dict[str, Component], csv_path: Path) -> pd.Dat
na_values=[""],
)
except UnicodeDecodeError:
raise InputValidationException(code="0-1-2-5", file=csv_path.name)
if isinstance(csv_path, Path):
Copy link
Contributor

Choose a reason for hiding this comment

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

According to code coverage, those lines aren't covered

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.

Define library extras and refactor S3 readers
2 participants