Skip to content

Commit

Permalink
Fixed bug (for Python3.8) in type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
rhfogh committed Feb 10, 2025
1 parent 8628a98 commit e307096
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 @@ -5,6 +5,7 @@
from typing import (
List,
Optional,
Dict,
)

from pydantic.v1 import (
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 e307096

Please sign in to comment.