Skip to content

Message class should be slightly amended #75

Description

@fabrizio-turchi

In the init method there is the call self.append_indexed_items included in base.py but the code is useless even though it can be ignored, no issues are raised by the case_validate.

defappend_indexed_items(self, *args):
""" :param args: A single/tuple of ObservableObjects """forkeyin ["olo:length", "olo:slot"]:
ifself.get(key) isNone:
self[key] =Noneiflen(args) ==1andnotargs[0]: # True if no objects to append providedpasselse:
iflen(args) andself["olo:slot"] isNone:
self["olo:slot"] =list()
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions