DiamondLightSource / DiamondLightSource/blueapi

Combine context.plans and context.plan_functions into a single dictionary

Open
#180 14 comments 0 reactions 0 assignees View on GitHub
c: context enhancement priority low
Dominant language
Python
Stars
13
Forks
13
Avg merge
2d 11h
Merged PRs (30d)
25

Description

Making context.plans hold a dataclass e.g.
```python
@dataclass
class PlanWithMetadata:
plan_function: PlanGenerator
params:
metadata:
```

prevents having to maintain two dictionaries but also means we can easily extract the serialisable parts of the plan to send.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.