I deleted the code that I registered in the Python shared library, but it still appears in the library search results. I would like to know how to delete it.
I spoke with @ytorii1114 and confirmed that this user permanently deleted the code repository that the Python library was published from, but the library still appears in search results in the Libraries panel of other repositories. Clicking on the “View code repository” button confirms that the repository indeed no longer exists.
Thank you @sandpiper
I understand that it says “Can’t load” and that it doesn’t exist, but is it possible to prevent it from appearing in library searches?
Sorry for the confusion - I was just clarifying the current situation so that other people who read this question can better understand what the issue is (I don’t know the answer myself).
Hi @ytorii1114, this is expected behaviour - libraries that have been previously published will continue to be persisted even if the source repository is deleted. This is to protect builds from potentially destructive changes to upstream repositories; for example, if a deleted library was referenced in a pipeline and we also deleted the library when the source repository was deleted, the pipeline would begin failing.
However, I understand that this is not intuitive, and we can look into hiding the library in search results on the frontend!
Thank you @vnling
Could you tell me how to hide it in searches?