Skip to content

Clean-up: Avoid constructing Contexts with args[0], db, args[1], … #14

@rmoehn

Description

@rmoehn

There are several places in the code where a Context is constructed from datastore contents like this:

        all_successors = [Context(args[0], db, args[1], parent=args[2])
                for args in answer_successors + workspace_successors]

Replace these with something more readable.

This includes the args[0] in the procedure _can_advance_promise in context.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions