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

feat: stabilize Cell class #984

Merged
merged 23 commits into from
Jan 15, 2025
Merged

feat: stabilize Cell class #984

merged 23 commits into from
Jan 15, 2025

Conversation

lars-reimann
Copy link
Member

@lars-reimann lars-reimann commented Jan 15, 2025

Closes partially #977

Summary of Changes

  • Add method Cell.constant to create a cell with a constant value from a Python literal
  • Add method Cell.date to create a cell with a date
  • Add method Cell.time to create a cell with a time
  • Add method Cell.datetime to create a cell with a datetime
  • Add method Cell.duration to create a cell with a duration
  • Add method Cell.cast to cast a cell to another type
  • Improve type hints for cell operations

Copy link
Contributor

github-actions bot commented Jan 15, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 60 0 0 1.63s
✅ PYTHON mypy 60 0 3.63s
✅ PYTHON ruff 60 0 0 0.29s
✅ REPOSITORY git_diff yes no 0.28s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.16%. Comparing base (dc4640b) to head (a70c635).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #984      +/-   ##
==========================================
+ Coverage   95.09%   95.16%   +0.07%     
==========================================
  Files         125      127       +2     
  Lines        7719     7790      +71     
==========================================
+ Hits         7340     7413      +73     
+ Misses        379      377       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lars-reimann lars-reimann merged commit 96be911 into main Jan 15, 2025
10 checks passed
@lars-reimann lars-reimann deleted the finalize-cells branch January 15, 2025 17:14
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