-
Notifications
You must be signed in to change notification settings - Fork 89
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
Clone dataset schema #1278
Clone dataset schema #1278
Conversation
@@ -3283,6 +3284,8 @@ def clone_public_dataset( | |||
dataset_name=dataset_name, | |||
description=ds.description, | |||
data_type=ds.data_type or ls_schemas.DataType.kv, | |||
inputs_schema=ds.inputs_schema, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we set transformations as well here?
The description of the dataset. | ||
data_type : DataType or None, default=DataType.kv | ||
data_type : ls_schemas.DataType, default=ls_schemas.DataType.kv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to self to mark this as deprecated
@@ -171,6 +171,22 @@ class Config: | |||
frozen = True | |||
|
|||
|
|||
DatasetTransformationType = Literal[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any thoughts on not making this a literal so it's easier to add new ones server side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think since I union with str it at least won't be blocked if you try to say a new one
No description provided.