Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-harper committed Jan 31, 2024
1 parent 6d21f14 commit c26fad6
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion scripts/clear_project_test_metadata.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -14,4 +26,5 @@ def main(project: str):


if __name__ == '__main__':
# pylint: disable=no-value-for-parameter
main()

0 comments on commit c26fad6

Please sign in to comment.