# Script to rename artist
This script will rename the artist in art_relations.artist_info, art_relations.release_artist, art_relations.track_artist, art_relations.track_writer, and in neo4j label participant.

### Installation
```
python3 -m venv env
```
```
source env/bin/activate
```
```
pip install -r requirements.txt
```
```
cp .env.shadow .env
```

### Running the script
run the script by running following command providing the artist_id and artist_name as given below:
```
python rename_artist.py --artist_id 12345 --artist_name "test artist" --request_type merge --current_artist_id 2345

```

### Steps for execution
1. Rename the .env.shadow to .env
2. Update the GRAPHQL_GATEWAY_URL and OA_USER in .env file
3. Run the script python rename_artist.py --artist_id 12345 --artist_name "test artist" --request_type merge --current_artist_id 2345
