Closed falexwolf closed 5 months ago
I think there is a simple solution here to avoid DRY:
def delete_instance(identifier: Union[UUID, str]): if isinstance(identifier, UUID): # id logic else: # slug logic
Fixed here: https://github.com/laminlabs/lamindb-setup/pull/691
I think there is a simple solution here to avoid DRY: