Skip to content

Simplify BlueapiClient creation #1015

@RJCD-Diamond

Description

@RJCD-Diamond

Establishing a blueapi client setup to create tasks can be done from:

Establishing:

  • StompClient()
  • EventBusClient()
  • BlueapiRestClient()
  • RestConfig()
    and finally
  • BlueapiClient()

alternatively it can be done from the BlueapiClient.from_config() but that is also complex, and I have not succeeded in getting it working.

This process could be simplified so that either you can do:

BlueapiClient.load_from_yaml(PATHTOYAML)
or
BlueapiClient.from_dict(dict) where the dict contains the same information as the yaml

Or simplified in such a way that you can give it the minimal amount of information, and number of steps to get it setup

Acceptance Criteria

  • Specific criteria that will be used to judge if the issue is fixed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions