Small fixups

stix2.1
Greg Back 2017-01-18 16:10:18 -08:00
parent d803d15add
commit 4d9dcafbc6
2 changed files with 1 additions and 1 deletions

View File

@ -194,6 +194,7 @@ class Relationship(_STIXBase):
'target_ref', 'target_ref',
] ]
# Explicitly define the first three kwargs to make readable Relationship declarations.
def __init__(self, source_ref=None, relationship_type=None, target_ref=None, def __init__(self, source_ref=None, relationship_type=None, target_ref=None,
**kwargs): **kwargs):
# TODO: # TODO:

View File

@ -37,7 +37,6 @@ MALWARE_KWARGS = dict(
name="Cryptolocker", name="Cryptolocker",
) )
# Minimum required args for a Relationship instance # Minimum required args for a Relationship instance
RELATIONSHIP_KWARGS = dict( RELATIONSHIP_KWARGS = dict(
relationship_type="indicates", relationship_type="indicates",