Commit 117dc26
fix(typing): Fix type of Metrics.set_timestamp argument (#7582)
The docstring is correct but the type hint is not.
The underlying AmazonCloudWatchEMFProvider.set_timestamp supports both
int and datetime.datetime.
Co-authored-by: Martin Kulhavy <[email protected]>
Co-authored-by: Leandro Damascena <[email protected]>1 parent fd6865d commit 117dc26
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
0 commit comments