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

Fixed file datatype and and lazy file #2017

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

jieguangzhou
Copy link
Collaborator

@jieguangzhou jieguangzhou commented Apr 30, 2024

Description

#1973

Related Issues

Checklist

  • Is this code covered by new or existing unit tests or integration tests?
  • Did you run make unit-testing and make integration-testing successfully?
  • Do new classes, functions, methods and parameters all have docstrings?
  • Were existing docstrings updated, if necessary?
  • Was external documentation updated, if necessary?

Additional Notes or Comments

@jieguangzhou jieguangzhou requested review from blythed and kartik4949 and removed request for blythed April 30, 2024 08:24
@jieguangzhou jieguangzhou linked an issue Apr 30, 2024 that may be closed by this pull request
@@ -444,6 +451,7 @@ def encode(self, leaf_types_to_keep: t.Sequence = ()):
f'_{self.leaf_type}/'
f'{sha1 if self.file_id is None else self.file_id}',
),
'artifact_type': 'bytes',
Copy link
Collaborator Author

@jieguangzhou jieguangzhou Apr 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future, we can flexibly define the storage logic of artifacts according to the artifact_type (bytes, file, yaml, base64)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes good idea.

@blythed blythed merged commit a9f66bf into superduper-io:main Apr 30, 2024
3 checks passed
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.

[BUGS-0.2.0] File encodable bug
2 participants