We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b1a1c3 commit e5b121fCopy full SHA for e5b121f
1 file changed
ldclient/datasystem.py
@@ -16,6 +16,9 @@
16
StreamingDataSource,
17
StreamingDataSourceBuilder
18
)
19
+from ldclient.impl.integrations.files.file_data_sourcev2 import (
20
+ _FileDataSourceV2
21
+)
22
from ldclient.interfaces import (
23
DataStoreMode,
24
FeatureStore,
@@ -125,6 +128,12 @@ def builder(config: LDConfig) -> StreamingDataSource:
125
128
return builder
126
129
127
130
131
+def file_ds_builder(paths: List[str]) -> Builder[Initializer]:
132
+ def builder(_: LDConfig) -> Initializer:
133
+ return _FileDataSourceV2(paths)
134
+
135
+ return builder
136
137
def default() -> ConfigBuilder:
138
"""
139
Default is LaunchDarkly's recommended flag data acquisition strategy.
0 commit comments