import graphene

from .models import Media
from .service import MediaService

service = MediaService()


class MediaType(graphene.ObjectType):
    '''
    Media Type, 
        represents a GraphQL version of a media entity
    '''

    id = graphene.ID(required=True)

    mime = graphene.String(required=True)
    data = graphene.String(required=True)

36b5a58ca5a184eb507c4dd7b6b94a86f91bd247
<mask token>


class MediaType(graphene.ObjectType):
    <mask token>
    id = graphene.ID(required=True)
    mime = graphene.String(required=True)
    data = graphene.String(required=True)

<mask token>


class MediaType(graphene.ObjectType):
    """
    Media Type, 
        represents a GraphQL version of a media entity
    """
    id = graphene.ID(required=True)
    mime = graphene.String(required=True)
    data = graphene.String(required=True)

<mask token>
service = MediaService()


class MediaType(graphene.ObjectType):
    """
    Media Type, 
        represents a GraphQL version of a media entity
    """
    id = graphene.ID(required=True)
    mime = graphene.String(required=True)
    data = graphene.String(required=True)

import graphene
from .models import Media
from .service import MediaService
service = MediaService()


class MediaType(graphene.ObjectType):
    """
    Media Type, 
        represents a GraphQL version of a media entity
    """
    id = graphene.ID(required=True)
    mime = graphene.String(required=True)
    data = graphene.String(required=True)

import graphene

from .models import Media
from .service import MediaService

service = MediaService()


class MediaType(graphene.ObjectType):
    '''
    Media Type, 
        represents a GraphQL version of a media entity
    '''

    id = graphene.ID(required=True)

    mime = graphene.String(required=True)
    data = graphene.String(required=True)
