MachineLearningNotebooks icon indicating copy to clipboard operation
MachineLearningNotebooks copied to clipboard

Dataset.register() params out of date

Open dataders opened this issue 7 years ago • 6 comments

These params are old. It should be create_new_version instead of exist_ok or update_if_exist.

exist_ok
bool or optional
If True, the method returns the Dataset if it already exists in the given workspace, else error.

update_if_exist
bool or optional
If exist_ok is True and update_if_exist is True, this method will update the definition and return the updated Dataset.

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

dataders avatar Oct 23 '19 21:10 dataders

@MayMSFT can you work with Eng for this one please?

nibaccam avatar Oct 24 '19 17:10 nibaccam

yep. the method will have deprecation message with the next release

MayMSFT avatar Oct 24 '19 17:10 MayMSFT

@swanderz thank you for your post. We will now proceed to close this thread, #please-close. If you have further questions regarding this matter please re-open this issue and @MayMSFT.

nibaccam avatar Oct 24 '19 17:10 nibaccam

@nibaccam, wouldn't a good time to close this issue when the bug is resolved in a release available to users? Until that point, it should be open, as it is an issue affecting users.

dataders avatar Oct 24 '19 18:10 dataders

Hi Anders. Here is the base class for dataset: https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.data.abstract_dataset.abstractdataset?view=azure-ml-py we have added the deprecation message for the old dataset class: https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.dataset.dataset?view=azure-ml-py Will add redirection link on the old dataset class to guide users to abstract dataset class

MayMSFT avatar Nov 08 '19 14:11 MayMSFT

Great thanks!

dataders avatar Nov 08 '19 16:11 dataders