Skip to content

Draft: Create bliss.beacon package

Closes #2177

This MR move few modules to create a bliss.beacon package.

This makes quite obvious what beacon is:

bliss/beacon/
├── client.py
├── connection.py
├── protocol.py
├── server
│   ├── beacon_server.py
│   └── log_server.py
└── webapp
    ├── configuration.py
    └── homepage.py

Previously is was inside bliss.config, which is, i feel, not a very good place for a strong component of the architecture.

Resources are still in bliss.config, as it looks like this directory often used this way.

I have added deprecation warning for import of bliss.config.conductor.client and bliss.config.conductor.connection in order to make the transition. If you are fine with this MR, i can update occurrences of this modules to use the new name.

In [1]: from bliss.config.conductor import client                                                                                                                                                                                        
Package bliss.config.conductor.client is deprecated since BLISS version 1.7. Use 'bliss.beacon.client' instead.
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
Edited by Valentin Valls

Merge request reports