Api share-snapshots to snapshots
Fixed flake8 errors