def getRuntime(self,environment,extraDockerFlags=None,entrypoint=None): """ Returns the subuser's Runtime object for it's current permissions, creating it if necessary. """ if not self.__runtime: self.__runtime = Runtime(self.user,subuser=self,environment=environment,extraDockerFlags=extraDockerFlags,entrypoint=entrypoint) return self.__runtime
def getRuntime(self, environment): """ Returns the subuser's Runtime object for it's current permissions, creating it if necessary. """ if not self.__runtime: self.__runtime = Runtime(self.getUser(), subuser=self, environment=environment) return self.__runtime