@property
    def num_views(self):
        return len([a for a in self.relations() if isinstance(a, View)])
Returns an integer that can be used to identify this class.
dataset/ETHPy150Open coursera/dataduct/dataduct/database/database.py/Database.num_views--crossover with--dataset/ETHPy150Open ga4gh/server/ga4gh/exceptions.py/BaseServerException.getErrorCode