Ejemplo n.º 1
0
    def __init__(self,
                 daily_working_hours=None,
                 now=None,
                 timing_resolution=None,
                 **kwargs):
        super(Studio, self).__init__(**kwargs)
        DateRangeMixin.__init__(self, **kwargs)
        WorkingHoursMixin.__init__(self, **kwargs)
        self.timing_resolution = timing_resolution
        self.daily_working_hours = daily_working_hours
        self._now = None
        self.now = self._validate_now(now)
        self._scheduler = None

        # update defaults
        self.update_defaults()
Ejemplo n.º 2
0
    def __init__(self,
                 daily_working_hours=None,
                 now=None,
                 timing_resolution=None,
                 **kwargs):
        super(Studio, self).__init__(**kwargs)
        DateRangeMixin.__init__(self, **kwargs)
        WorkingHoursMixin.__init__(self, **kwargs)
        self.timing_resolution = timing_resolution
        self.daily_working_hours = daily_working_hours
        self._now = None
        self.now = self._validate_now(now)
        self._scheduler = None

        # update defaults
        self.update_defaults()
Ejemplo n.º 3
0
    def __init__(self,
                 name=None,
                 code=None,
                 clients=None,
                 repositories=None,
                 structure=None,
                 image_format=None,
                 fps=25.0,
                 is_stereoscopic=False,
                 users=None,
                 **kwargs):
        # a projects project should be self
        # initialize the project argument to self
        kwargs['project'] = self
        kwargs['name'] = name

        super(Project, self).__init__(**kwargs)
        # call the mixin __init__ methods
        ReferenceMixin.__init__(self, **kwargs)
        StatusMixin.__init__(self, **kwargs)
        DateRangeMixin.__init__(self, **kwargs)

        self.code = code

        if users is None:
            users = []
        self.users = users

        if repositories is None:
            repositories = []
        self.repositories = repositories

        self.structure = structure

        if clients is None:
            clients = []
        self.clients = clients

        self._sequences = []
        self._assets = []

        self.image_format = image_format
        self.fps = fps
        self.is_stereoscopic = bool(is_stereoscopic)

        self.active = True
Ejemplo n.º 4
0
    def __init__(self,
                 name=None,
                 code=None,
                 clients=None,
                 repositories=None,
                 structure=None,
                 image_format=None,
                 fps=25.0,
                 is_stereoscopic=False,
                 users=None,
                 **kwargs):
        # a projects project should be self
        # initialize the project argument to self
        kwargs['project'] = self

        kwargs['name'] = name

        super(Project, self).__init__(**kwargs)
        # call the mixin __init__ methods
        ReferenceMixin.__init__(self, **kwargs)
        StatusMixin.__init__(self, **kwargs)
        DateRangeMixin.__init__(self, **kwargs)

        if users is None:
            users = []
        self.users = users

        if repositories is None:
            repositories = []
        self.repositories = repositories

        self.structure = structure

        if clients is None:
            clients = []
        self.clients = clients

        self._sequences = []
        self._assets = []

        self.image_format = image_format
        self.fps = fps
        self.is_stereoscopic = bool(is_stereoscopic)
        self.code = code

        self.active = True
Ejemplo n.º 5
0
 def __init__(self, user=None, start=None, end=None, **kwargs):
     kwargs['start'] = start
     kwargs['end'] = end
     super(Vacation, self).__init__(**kwargs)
     DateRangeMixin.__init__(self, **kwargs)
     self.user = user
Ejemplo n.º 6
0
 def __init__(self, user=None, start=None, end=None, **kwargs):
     kwargs['start'] = start
     kwargs['end'] = end
     super(Vacation, self).__init__(**kwargs)
     DateRangeMixin.__init__(self, **kwargs)
     self.user = user
 def __init__(self, **kwargs):
     super(DeclSchedMixB, self).__init__(**kwargs)
     DateRangeMixin.__init__(self, **kwargs)
 def __init__(self, **kwargs):
     super(DeclSchedMixB, self).__init__(**kwargs)
     DateRangeMixin.__init__(self, **kwargs)
Ejemplo n.º 9
0
 def __init__(self, **kwargs):
     super(DateRangeMixFooMixedInClass, self).__init__(**kwargs)
     DateRangeMixin.__init__(self, **kwargs)
Ejemplo n.º 10
0
 def __init__(self, **kwargs):
     super(DateRangeMixFooMixedInClass, self).__init__(**kwargs)
     DateRangeMixin.__init__(self, **kwargs)