diff --git a/scripts/clear_project_test_metadata.py b/scripts/clear_project_test_metadata.py index 5d903a34d..0b668efab 100644 --- a/scripts/clear_project_test_metadata.py +++ b/scripts/clear_project_test_metadata.py @@ -1,10 +1,22 @@ -from metamist.apis import ProjectApi import click +from metamist.apis import ProjectApi + @click.command() @click.option('--project', required=True, help='Project to delete data from') def main(project: str): + """ + Deletes all data from a specified project in Metamist. + + This function uses the Metamist API to delete all data associated with a given project. + + Args: + project (str): The name of the project from which to delete data. + + Returns: + None + """ papi = ProjectApi() # Delete Project Data @@ -14,4 +26,5 @@ def main(project: str): if __name__ == '__main__': + # pylint: disable=no-value-for-parameter main()