Skip to content

Accessing ObjectProperties parent raises AttributeError #254

@bworrell

Description

@bworrell

The object_properties module does not import cybox.core.

>>> from cybox.objects.address_object import Address
>>> addr = Address()
>>> addr.parent.id_
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/bworrell/projects/python-cybox/cybox/common/object_properties.py", line 90, in parent
    self._parent = cybox.core.Object(self)
AttributeError: 'module' object has no attribute 'core'
>>> cybox.__version__
'2.1.0.12.dev0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions