Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@cached_property
def name(self):
return unicode(self.model._meta.verbose_name.capitalize())
@cached_property
def name_plural(self):
return unicode(self.model._meta.verbose_name_plural).capitalize()
@cached_property
def stat(self):
return os.statvfs(self.path)
@cached_property
def scs(self):
from .agent import cluster
return cluster
@cached_property
def supervisor(self):
from .supervisor import supervisor
return supervisor