Skip to content

Commit

Permalink
update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dperl-dls committed Jun 12, 2024
1 parent dffc68c commit cc01e25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ values (e.g. `beamlineParameters`...)
To use the config values in an experimental application (e.g. Hyperion) you can do:

```python
from daq_config_server.client import ConfigService
from daq_config_server.client import ConfigServer

daq_config_server = ConfigService("<service ip address>", <port>)
daq_config_server = ConfigServer("<service ip address>", <port>)

use_stub_offsets: bool = daq_config_server.best_effort_get_feature_flag("use_stub_offsets")

Expand Down
2 changes: 1 addition & 1 deletion src/daq_config_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
ROOT_PATH = ""

app = FastAPI(
title="DAQ config service",
title="DAQ config server",
description="""For storing and fetching beamline parameters, etc. which are needed
by more than one applicatioon or service""",
root_path=ROOT_PATH,
Expand Down
2 changes: 1 addition & 1 deletion src/daq_config_server/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
T = TypeVar("T")


class ConfigService:
class ConfigServer:
def __init__(self, address: str, port: int, log: Logger | None = None) -> None:
self.address = address
self.port = port
Expand Down

0 comments on commit cc01e25

Please sign in to comment.