Skip to content

For issue 1575: Eliminating Manual Class Registration in Unitxt, replaced by Import Paths #1713

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dafnapension
Copy link
Collaborator

@dafnapension dafnapension commented Apr 5, 2025

__type__ in catalog is expressed as qualified class name, therefrom classes are instantiated through python's import. Artifact._class_register is removed altogether

@dafnapension dafnapension force-pushed the json branch 2 times, most recently from d9425b2 to 3c9f7fa Compare April 6, 2025 20:22
@elronbandel
Copy link
Member

For: #1575

@dafnapension dafnapension force-pushed the json branch 10 times, most recently from 54efa18 to 137df10 Compare April 9, 2025 20:51
@dafnapension dafnapension changed the title __type__ in catalog to be expressed as qualified class name, registry maps each such qualified class name to itself, toward removal of registry __type__ in catalog is expressed as qualified class name, thereby classes are instantiated from it through python's import. Artifact.class_register is removed altogether Apr 9, 2025
@dafnapension dafnapension changed the title __type__ in catalog is expressed as qualified class name, thereby classes are instantiated from it through python's import. Artifact.class_register is removed altogether For issue 1575: Eliminating Manual Class Registration in Unitxt with Import Paths Apr 10, 2025
@dafnapension dafnapension changed the title For issue 1575: Eliminating Manual Class Registration in Unitxt with Import Paths For issue 1575: Eliminating Manual Class Registration in Unitxt, replaced by Import Paths Apr 10, 2025
…ake, and remove _class_register altogether

Signed-off-by: dafnapension <[email protected]>
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