Skip to content

Commit

Permalink
Made MeasurementValue.unit NotRequired (#3051)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker committed May 8, 2024
1 parent b24c1e4 commit 6148f07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sentry_sdk/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from typing import Dict
from typing import List
from typing import Mapping
from typing import NotRequired
from typing import Optional
from typing import Tuple
from typing import Type
Expand Down Expand Up @@ -63,7 +64,7 @@
"MeasurementValue",
{
"value": float,
"unit": Optional[MeasurementUnit],
"unit": NotRequired[Optional[MeasurementUnit]],
},
)

Expand Down

0 comments on commit 6148f07

Please sign in to comment.