Skip to content

Commit

Permalink
chore: Rename store module to catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat Venkatesh authored and vrajat committed Jan 21, 2020
1 parent 2ce1e98 commit 8b77848
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions piicatcher/store/db.py → piicatcher/catalog/db.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from peewee import *

from piicatcher.store import Store
from piicatcher.store.PiiTypeField import PiiTypeField
from piicatcher.catalog import Store
from piicatcher.catalog.PiiTypeField import PiiTypeField

database_proxy = DatabaseProxy()

Expand Down
2 changes: 1 addition & 1 deletion piicatcher/store/glue.py → piicatcher/catalog/glue.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging

from piicatcher.store import Store
from piicatcher.catalog import Store

import boto3

Expand Down
2 changes: 1 addition & 1 deletion piicatcher/explorer/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import pyathena

from piicatcher.explorer.explorer import Explorer
from piicatcher.store.glue import GlueStore
from piicatcher.catalog.glue import GlueStore


@click.command('aws')
Expand Down
2 changes: 1 addition & 1 deletion piicatcher/explorer/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import tableprint

from piicatcher.explorer.metadata import Schema, Table, Column
from piicatcher.store.db import DbStore
from piicatcher.catalog.db import DbStore


class Explorer(ABC):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from dateutil.tz import tzlocal

from piicatcher.store.glue import GlueStore
from piicatcher.catalog.glue import GlueStore
from tests.test_models import MockExplorer


Expand Down
4 changes: 2 additions & 2 deletions tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
import sqlite3
import pytest

from piicatcher.store.db import *
from piicatcher.catalog.db import *
from piicatcher.explorer.sqlite import SqliteExplorer
from piicatcher.explorer.explorer import Explorer
from piicatcher.explorer.metadata import Schema, Table, Column
from piicatcher.piitypes import PiiTypes
from piicatcher.store.db import DbStore
from piicatcher.catalog.db import DbStore

logging.basicConfig(level=logging.DEBUG)

Expand Down

0 comments on commit 8b77848

Please sign in to comment.