Repository navigation
refactor: Renamed methods and dataclasses - #113
Merged
Merged
Conversation
ShrimpCryptid
added this pull request to stack #114
September 14, 2026 18:58
ShrimpCryptid
force-pushed
the
refactor/rename-methods-classes
branch
from
September 14, 2026 19:04
05e11bc to
5ce0e84
Compare
ShrimpCryptid
force-pushed
the
refactor/rename-methods-classes
branch
from
September 14, 2026 19:12
5ba8d76 to
c759f78
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Undeclared runtime dependencies, broken legacy deserialization, and invalid documentation references undermine the intended compatibility migration.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Aligns public APIs and documentation with the renamed TFE package while retaining deprecated compatibility aliases.
Changes:
- Renames converter, metadata, and writer APIs.
- Adds deprecated legacy wrappers and aliases.
- Updates tests, examples, and migration documentation.
File summaries
| File | Description |
|---|---|
tfe_data/writer.py |
Renames the dataset writer and adds its legacy alias. |
tfe_data/utils.py |
Updates metadata type references. |
tfe_data/types.py |
Renames dataset metadata and adds its legacy alias. |
tfe_data/converter.py |
Renames conversion APIs and adds a compatibility wrapper. |
tests/test_writer.py |
Migrates writer tests to new names. |
tests/test_types.py |
Migrates metadata tests. |
tests/test_converter.py |
Migrates converter tests. |
README.md |
Updates the conversion example. |
documentation/MIGRATION.md |
Adds v1-to-v2 migration instructions. |
documentation/getting_started_guide/GETTING_STARTED.ipynb |
Updates tutorial API references. |
documentation/DATA_FORMAT.md |
Updates writer and metadata examples. |
documentation/bin/example_scripts/getting_started_guide.py |
Updates example imports and calls. |
documentation/bin/example_scripts/check_conversion_api.py |
Updates the conversion check script. |
Review details
- Files reviewed: 11/13 changed files
- Comments generated: 4
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
ShrimpCryptid
force-pushed
the
refactor/rename-methods-classes
branch
2 times, most recently
from
September 14, 2026 20:57
f6e0f06 to
03a3b86
Compare
ShrimpCryptid
marked this pull request as ready for review
September 14, 2026 21:04
interim17
approved these changes
Sep 15, 2026
ascibisz
approved these changes
Sep 16, 2026
…ata` with deprecation warning
…recated `convert_colorizer_data`.
…ng-extensions dependency
ShrimpCryptid
force-pushed
the
refactor/rename-methods-classes
branch
from
September 16, 2026 18:35
03a3b86 to
1f57bb8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Renamed methods and classes to remove references to "Colorizer", in line with the new repo + package rename. Backwards-compatibility was kept with old methods and class names, with deprecation warnings.
Once this and #112 are merged, I'll cut a new major release (v2.0.0) for the project.
Estimated review size: small, 15 minutes
Solution
convert_colorizer_data()toconvert_tfe_data().ColorizerMetadatatoDatasetMetadata.ColorizerDatasetWritertoTfeDatasetWriter.Type of change
Please delete options that are not relevant.
Keyfiles (delete if not relevant):
tfe_data/converter.pytfe_data/types.pydocumentation/MIGRATION.md