We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9cc8d5 commit 4fae96dCopy full SHA for 4fae96d
sdmx/types.py
@@ -1,9 +1,38 @@
1
from typing import TypedDict
2
3
+from pandas.tseries.offsets import (
4
+ Day,
5
+ Hour,
6
+ Micro,
7
+ Milli,
8
+ Minute,
9
+ MonthEnd,
10
+ Nano,
11
+ QuarterEnd,
12
+ Second,
13
+ Week,
14
+ YearEnd,
15
+)
16
+
17
from sdmx.convert.pandas import Attributes
18
from sdmx.format.csv.common import CSVFormatOptions
19
from sdmx.model.common import Agency
20
21
+# See https://github.com/pandas-dev/pandas-stubs/pull/1394#issuecomment-3356958356
22
+PeriodFrequency = (
23
+ Day
24
+ | Hour
25
+ | Minute
26
+ | Second
27
+ | Milli
28
+ | Micro
29
+ | Nano
30
+ | YearEnd
31
+ | QuarterEnd
32
+ | MonthEnd
33
+ | Week
34
35
36
37
class VersionableArtefactArgs(TypedDict, total=False):
38
version: str
0 commit comments