def get_all_properties(cls): """Excludes few properties, before sending to client""" all_properties = super(Config, cls).get_all_properties() all_properties += cls.PUBLIC_PROPERTIES return _.pull(_.uniq(all_properties), 'version', 'modified', 'created', 'key', 'id')
def get_all_properties(cls): """Excludes few properties, before sending to client""" all_properties = super(Config, cls).get_all_properties() all_properties += cls.PUBLIC_PROPERTIES return _.pull(_.uniq(all_properties), "version", "modified", "created", "key", "id")
def __init__(self, release_note_objs: typing.List[ReleaseNote]): self.rls_note_objs = _.uniq(release_note_objs)