• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MITLibraries / timdex-dataset-api / 12243107501
99%
main: 93%

Build:
Build:
LAST BUILD BRANCH: USE-531-fulltext-data-type-add
DEFAULT BRANCH: main
Ran 09 Dec 2024 07:46PM UTC
Jobs 1
Files 5
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Dec 2024 07:34PM UTC coverage: 98.013% (-0.6%) from 98.621%
12243107501

push

github

jonavellecuerdo
Add post_init method to DatasetRecord to derive partition values

Why these changes are being introduced:
* The [year, month, day] partition values can be derived from
DatasetRecord.run_date and removing the 'partition_values'
mixin from TIMDEXDataset.write method reduces the
complexity of the function by making the write method directly
pull partitions from the DatasetRecord partition columns
instead.

How this addresses that need:
* Derive [year, month, day] attrs for DatasetRecord from 'run-date'
to use as partition values
* Remove option 'partition_values' from TIMDEXDataset.write method
and rely on valid 'run-date' values to derive partitions,
raising an error if 'run-date' cannot be parsed
* Remove deprecated tests

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-432

10 of 10 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

148 of 151 relevant lines covered (98.01%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12243107501.1 09 Dec 2024 07:46PM UTC 0
98.01
GitHub Action Run
Source Files on build 12243107501
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12243107501
  • 6036155d on github
  • Prev Build on TIMX-432-rework-dataset-partitions (#12241363418)
  • Next Build on TIMX-432-rework-dataset-partitions (#12243134456)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc