Skip to content

servicex dataset delete CLI command reports "Dataset N not found" #528

@ponyisi

Description

@ponyisi

Running servicex dataset delete N seems to always print "Dataset N not found" even though the delete succeeds. I suspect this is because the CLI uses the return value of ServiceXClient.delete_dataset to determine what it prints

result = asyncio.run(sx.delete_dataset(dataset_id))

and following the call chain, it's the return value of ServiceXAdapter.delete_dataset
async def delete_dataset(self, dataset_id=None):

which never actually has a path that returns anything other than None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions