# Path: subuserlib/classes/userOwnedObject.py
# class UserOwnedObject(object):
#   def __init__(self,user):
#     self.user = user


import os
import hashlib
import subuserlib.classes.exceptions
import subuserlib.docker
from subuserlib.classes.userOwnedObject import UserOwnedObject
# -*- coding: utf-8 -*-

"""
Contains code that prepairs a subuser's image to be run.
"""

#external imports
#internal imports

class RunReadyImage(UserOwnedObject):
  """
  This class represents the run ready image associated with a given subuser. It is tied to the subuser and its latest permissions.
  """
  def __init__(self,user,subuser):
    self.subuser = subuser
    self.__id = None

# Path: subuserlib/classes/userOwnedObject.py
# class UserOwnedObject(object):
#   def __init__(self,user):
#     self.user = user


# Path: subuserlib/classes/subuserSubmodules/run/runReadyImage.py
import os
import hashlib
import subuserlib.classes.exceptions
import subuserlib.docker
from subuserlib.classes.userOwnedObject import UserOwnedObject

# -*- coding: utf-8 -*-

"""
Contains code that prepairs a subuser's image to be run.
"""

#external imports
#internal imports

class RunReadyImage(UserOwnedObject):
  """
  This class represents the run ready image associated with a given subuser. It is tied to the subuser and its latest permissions.
  """
  def __init__(self,user,subuser):
    self.subuser = subuser
    self.__id = None

    UserOwnedObject.__init__(self,user)