Closed nachobacanful closed 3 years ago
when calling parse() returning object is of type Object when itype is object and sub_type is cybexp_user, I assume same happends with Orgs. this happens because: https://github.com/CYBEX-P/tahoe/blob/42b93a725f5dd98bcb428c179371e9b7cccb1542/tahoe/parse.py#L45 fails to find mapping, becuase it does not exists.
parse()
Object
itype
object
sub_type
cybexp_user
Org
The following
ITYPE_CLASS_MAP['object']['cybexp_user'] = User ITYPE_CLASS_MAP['object']['cybexp_org'] = Org
should be added to _create_itype_class_map().
_create_itype_class_map()
when calling
parse()
returning object is of typeObject
whenitype
isobject
andsub_type
iscybexp_user
, I assume same happends withOrg
s. this happens because: https://github.com/CYBEX-P/tahoe/blob/42b93a725f5dd98bcb428c179371e9b7cccb1542/tahoe/parse.py#L45 fails to find mapping, becuase it does not exists.to fix
The following
should be added to
_create_itype_class_map()
.