Skip to content

Rename DispatchInfo.components to DispatchInfo.target #117

@llucax

Description

@llucax

What's needed?

We need to be consistent between the Dispatch and DispatchInfo classes. Dispatch uses target for the target components, and it makes sense, because it can also be categories. DispatchInfo should use the same.

Proposed solution

Rename DispatchInfo.components to DispatchInfo.target.

Additional context

class DispatchInfo:
"""Event emitted when the dispatch changes."""
components: TargetComponents
"""Components to be used."""
dry_run: bool
"""Whether this is a dry run."""
options: dict[str, Any]
"""Additional options."""

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:actorAffects the dispatching actorscope:breaking-changeBreaking change, users will need to update their codetype:enhancementNew feature or enhancement visitble to users

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions