Skip to content

DM-32940: Use the new Butler.exists API, replacing datasetExists#47

Merged
timj merged 2 commits intomainfrom
tickets/DM-32940
Jun 7, 2023
Merged

DM-32940: Use the new Butler.exists API, replacing datasetExists#47
timj merged 2 commits intomainfrom
tickets/DM-32940

Conversation

@timj
Copy link
Copy Markdown
Contributor

@timj timj commented Jun 2, 2023

@timj
Copy link
Copy Markdown
Contributor Author

timj commented Jun 2, 2023

@mfisherlevine I'm not entirely sure how you want to play this. Do you have users of your utility datasetExists function outside of this package? Are you going to be running this code with an old butler that doesn't have .exists()? The comment associated with the utility function indicated you were happy to remove the function when the new API exists.

@mfisherlevine
Copy link
Copy Markdown
Contributor

As discussed OOB, I'm not too worried about users, but there's one instance in summit_extras and two in rubintv_production, both of which I'm happy to fix up later, but adding a deprecation warning for now, so that stacks can be updated with the coming weekly and then make use of it, would be a much easier path to getting this removed. But yes, to the "should it be removed", very much so, the intent was indeed always to get rid of that (and in fact as much else in this file as possible tbh!)

Copy link
Copy Markdown

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

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

Looks good.

@timj timj merged commit 0cbd11e into main Jun 7, 2023
@timj timj deleted the tickets/DM-32940 branch June 7, 2023 21:49
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.

3 participants