remove object inheritence (not needed for py3k) (#418)

This commit is contained in:
Tom Kralidis
2020-04-23 09:43:27 -04:00
committed by GitHub
parent 54732d26c9
commit 4ec2a79180
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ def pre_process(func):
return inner
class API(object):
class API:
"""API object"""
def __init__(self, config):
+1 -1
View File
@@ -32,7 +32,7 @@ import logging
LOGGER = logging.getLogger(__name__)
class BaseFormatter(object):
class BaseFormatter:
"""generic Formatter ABC"""
def __init__(self, formatter_def):
+1 -1
View File
@@ -32,7 +32,7 @@ import logging
LOGGER = logging.getLogger(__name__)
class BaseProcessor(object):
class BaseProcessor:
"""generic Processor ABC. Processes are inherited from this class"""
def __init__(self, processor_def, process_metadata):
+1 -1
View File
@@ -32,7 +32,7 @@ import logging
LOGGER = logging.getLogger(__name__)
class BaseProvider(object):
class BaseProvider:
"""generic Provider ABC"""
def __init__(self, provider_def):
+1 -1
View File
@@ -55,7 +55,7 @@ from psycopg2.extras import RealDictCursor
LOGGER = logging.getLogger(__name__)
class DatabaseConnection(object):
class DatabaseConnection:
"""Database connection class to be used as 'with' statement.
The class returns a connection object.
"""