Пример #1
0
    def construct_show(client, node):
        attribute_map = {
            "title": "grandparentTitle",
            "contentRating": "grandparentContentRating",
            "studio": "grandparentStudio",
            "theme": "grandparentTheme",
        }

        return Show.construct(client, node, attribute_map, child=True)
Пример #2
0
    def construct_show(client, node):
        attribute_map = {
            'key': 'grandparentKey',
            'ratingKey': 'grandparentRatingKey',
            'title': 'grandparentTitle',
            'art': 'grandparentArt',
            'theme': 'grandparentTheme',
            'thumb': 'grandparentThumb'
        }

        return Show.construct(client, node, attribute_map, child=True)
Пример #3
0
    def construct_show(client, node):
        attribute_map = {
            'ratingKey': 'grandparentRatingKey',
            'title': 'grandparentTitle',
            'contentRating': 'grandparentContentRating',
            'studio': 'grandparentStudio',
            'theme': 'grandparentTheme',
            'thumb': 'grandparentThumb'
        }

        return Show.construct(client, node, attribute_map, child=True)
Пример #4
0
    def construct_show(client, node):
        attribute_map = {
            "index": "parentIndex",
            "key": "parentKey",
            "ratingKey": "parentRatingKey",
            "title": "parentTitle",
            "summary": "parentSummary",
            "thumb": "parentThumb",
            "theme": "parentTheme",
        }

        return Show.construct(client, node, attribute_map, child=True)
Пример #5
0
    def construct_show(client, node):
        attribute_map = {
            'index': 'parentIndex',
            'key': 'parentKey',
            'ratingKey': 'parentRatingKey',
            'title': 'parentTitle',
            'summary': 'parentSummary',
            'thumb': 'parentThumb',
            'theme': 'parentTheme'
        }

        return Show.construct(client, node, attribute_map, child=True)
Пример #6
0
    def construct_show(client, node):
        attribute_map = {
            'key':          'grandparentKey',
            'ratingKey':    'grandparentRatingKey',

            'title':        'grandparentTitle',

            'art':          'grandparentArt',
            'theme':        'grandparentTheme',
            'thumb':        'grandparentThumb'
        }

        return Show.construct(client, node, attribute_map, child=True)
Пример #7
0
    def construct_show(client, node):
        attribute_map = {
            'ratingKey'    : 'grandparentRatingKey',

            'title'        : 'grandparentTitle',

            'contentRating': 'grandparentContentRating',
            'studio'       : 'grandparentStudio',

            'theme'        : 'grandparentTheme',
            'thumb'        : 'grandparentThumb'
        }

        return Show.construct(client, node, attribute_map, child=True)
Пример #8
0
    def construct_show(client, node):
        attribute_map = {
            'index'    : 'parentIndex',
            'key'      : 'parentKey',
            'ratingKey': 'parentRatingKey',

            'title'    : 'parentTitle',
            'summary'  : 'parentSummary',
            'thumb'    : 'parentThumb',

            'theme'    : 'parentTheme'
        }

        return Show.construct(client, node, attribute_map, child=True)