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

[BUG] Component serialization includes unnecessary data #2593

Open
blythed opened this issue Nov 5, 2024 · 0 comments
Open

[BUG] Component serialization includes unnecessary data #2593

blythed opened this issue Nov 5, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@blythed
Copy link
Collaborator

blythed commented Nov 5, 2024

from superduper import *

class MyComponent(Component):
    model: Model

c = MyComponent('my', model=ObjectModel('test', object=lambda x: x)

db.apply(c)

print(db.show('component', 'my', -1))

This contains the serializer of the Model, which we don't need.

@blythed blythed added the 🐛 bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant