Adjustments based on code review feedback
This commit is contained in:
parent
c46b11bac1
commit
1eaf5b18dd
9 changed files with 30 additions and 19 deletions
|
@ -4,9 +4,13 @@ from six import add_metaclass
|
|||
@add_metaclass(ABCMeta)
|
||||
class ManifestInterface(object):
|
||||
""" Defines the interface for the various manifests types supported. """
|
||||
@abstractproperty
|
||||
def is_manifest_list(self):
|
||||
""" Returns whether this manifest is a list. """
|
||||
|
||||
@abstractproperty
|
||||
def schema_version(self):
|
||||
""" The version of the schema, or None for lists. """
|
||||
""" The version of the schema. """
|
||||
|
||||
@abstractproperty
|
||||
def digest(self):
|
||||
|
|
Reference in a new issue