Skip to content

Commit

Permalink
Remove pin on dodal, resolve Union removal
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Apr 18, 2024
1 parent f43bd12 commit 3dd6fa9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
"uvicorn",
"requests",
"dls-bluesky-core", #requires ophyd-async
"dls-dodal<1.21",
"dls-dodal",
]
dynamic = ["version"]
license.file = "LICENSE"
Expand Down
7 changes: 3 additions & 4 deletions src/blueapi/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ class DataWritingConfig(BlueapiBaseModel):
"""

beamline: str = "example"
root: Path | None = (
None # When mounting with a static root, e.g. /2024/cm12345-1/
)
visit_service_url: Optional[str] = None # e.g. "http://localhost:8088/api"
root: Path | None = None # When mounting with a static root, e.g. /2024/cm12345-1/
visit_service_url: str | None = None # e.g. "http://localhost:8088/api"


class WorkerEventConfig(BlueapiBaseModel):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/blueapi/data_management/visit_directory_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class VisitDirectoryProvider(DirectoryProvider):
def __init__(
self,
beamline: str,
root: Optional[Path],
root: Path | None,
client: VisitServiceClientBase,
):
self._client = client
Expand Down

0 comments on commit 3dd6fa9

Please sign in to comment.