Skip to content

Commit

Permalink
Fixed bug (for Python3.8) in type annotations (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhfogh authored Feb 11, 2025
1 parent 8344363 commit f48653a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mxcubecore/model/lims_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
timedelta,
)
from typing import (
Dict,
List,
Optional,
)
Expand Down Expand Up @@ -77,4 +78,4 @@ class LimsUser(BaseModel):
class LimsSessionManager(BaseModel):
active_session: Optional[Session] = None
sessions: Optional[List[Session]] = []
users: Optional[dict[str, LimsUser]] = {}
users: Optional[Dict[str, LimsUser]] = {}

0 comments on commit f48653a

Please sign in to comment.