# Path: courseraresearchexports/constants/api_constants.py
# ANONYMITY_LEVEL_COORDINATOR = 'HASHED_IDS_NO_PII'
# 
# ANONYMITY_LEVEL_ISOLATED = 'HASHED_IDS_WITH_ISOLATED_UGC_NO_PII'
# 
# EXPORT_TYPE_TABLES = 'RESEARCH_WITH_SCHEMAS'
# 
# EXPORT_TYPE_CLICKSTREAM = 'RESEARCH_EVENTING'
# 
# EXPORT_TYPE_GRADEBOOK = 'GRADEBOOK'
# 
# SCHEMA_NAMES = [
#     'demographics',
#     'users',
#     'course_membership',
#     'course_progress',
#     'feedback',
#     'assessments',
#     'course_grades',
#     'peer_assignments',
#     'discussions',
#     'programming_assignments',
#     'course_content',
#     'ecb',
#     'notebooks',
#     'transactions']
# 
# Path: courseraresearchexports/models/utils.py
# def requests_response_to_model(response_transformer):
#     def response_transform_decorator(original_func):
#         def response_transformer_wrapper(*args, **kwargs):
# def lookup_course_slug_by_id(course_id):
# def lookup_course_id_by_slug(course_slug):
# def lookup_partner_id_by_short_name(partner_short_name):
# def lookup_partner_short_name_by_id(partner_id):


from courseraresearchexports.constants.api_constants import \
    ANONYMITY_LEVEL_COORDINATOR, ANONYMITY_LEVEL_ISOLATED, EXPORT_TYPE_TABLES,\
    EXPORT_TYPE_CLICKSTREAM, EXPORT_TYPE_GRADEBOOK, SCHEMA_NAMES
from courseraresearchexports.models import utils

    @property
    def course_id(self):
        return self._course_id

    @property
    def partner_id(self):
        return self._partner_id

    @property
    def export_type(self):
        return self._export_type

    @property
    def export_type_display(self):
        if self._export_type == EXPORT_TYPE_GRADEBOOK:
            return 'GRADEBOOK'
        elif self._export_type == EXPORT_TYPE_CLICKSTREAM:
            return 'CLICKSTREAM'
        elif self._export_type == EXPORT_TYPE_TABLES:
            return 'TABLES'
        else:
            return self._export_type

    @property
    def anonymity_level(self):
        return self._anonymity_level

    @property
    def formatted_anonymity_level(self):

# Path: courseraresearchexports/constants/api_constants.py
# ANONYMITY_LEVEL_COORDINATOR = 'HASHED_IDS_NO_PII'
# 
# ANONYMITY_LEVEL_ISOLATED = 'HASHED_IDS_WITH_ISOLATED_UGC_NO_PII'
# 
# EXPORT_TYPE_TABLES = 'RESEARCH_WITH_SCHEMAS'
# 
# EXPORT_TYPE_CLICKSTREAM = 'RESEARCH_EVENTING'
# 
# EXPORT_TYPE_GRADEBOOK = 'GRADEBOOK'
# 
# SCHEMA_NAMES = [
#     'demographics',
#     'users',
#     'course_membership',
#     'course_progress',
#     'feedback',
#     'assessments',
#     'course_grades',
#     'peer_assignments',
#     'discussions',
#     'programming_assignments',
#     'course_content',
#     'ecb',
#     'notebooks',
#     'transactions']
# 
# Path: courseraresearchexports/models/utils.py
# def requests_response_to_model(response_transformer):
#     def response_transform_decorator(original_func):
#         def response_transformer_wrapper(*args, **kwargs):
# def lookup_course_slug_by_id(course_id):
# def lookup_course_id_by_slug(course_slug):
# def lookup_partner_id_by_short_name(partner_short_name):
# def lookup_partner_short_name_by_id(partner_id):


# Path: courseraresearchexports/models/ExportRequest.py
from courseraresearchexports.constants.api_constants import \
    ANONYMITY_LEVEL_COORDINATOR, ANONYMITY_LEVEL_ISOLATED, EXPORT_TYPE_TABLES,\
    EXPORT_TYPE_CLICKSTREAM, EXPORT_TYPE_GRADEBOOK, SCHEMA_NAMES
from courseraresearchexports.models import utils


    @property
    def course_id(self):
        return self._course_id

    @property
    def partner_id(self):
        return self._partner_id

    @property
    def export_type(self):
        return self._export_type

    @property
    def export_type_display(self):
        if self._export_type == EXPORT_TYPE_GRADEBOOK:
            return 'GRADEBOOK'
        elif self._export_type == EXPORT_TYPE_CLICKSTREAM:
            return 'CLICKSTREAM'
        elif self._export_type == EXPORT_TYPE_TABLES:
            return 'TABLES'
        else:
            return self._export_type

    @property
    def anonymity_level(self):
        return self._anonymity_level

    @property
    def formatted_anonymity_level(self):

        if self.anonymity_level == ANONYMITY_LEVEL_COORDINATOR: