You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allows to run parallel pipelines in separate threads (#813)
* keeps metrics of closed data writer files
* fixes handling of multiple load storages in normalize
* separates immutable job id from actual job file name
* allows to import files into data item storage
* import parquet files into data items storage in normalize
* adds buffered writer tests
* bumps to alpha 0.4.1a1
* makes all injection contexts thread affine, except config providers
* tests running parallel pipelines in thread pool
* allows to set start method for process executor
* adds thread id to dlt log
* improves parallel run test
* fixes None in toml config writer
* adds parallel asyncio test
* updates performance docs
Copy file name to clipboardExpand all lines: dlt/common/configuration/specs/base_configuration.py
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -395,6 +395,8 @@ class ContainerInjectableContext(BaseConfiguration):
395
395
396
396
can_create_default: ClassVar[bool] =True
397
397
"""If True, `Container` is allowed to create default context instance, if none exists"""
398
+
global_affinity: ClassVar[bool] =False
399
+
"""If True, `Container` will create context that will be visible in any thread. If False, per thread context is created"""
398
400
399
401
defadd_extras(self) ->None:
400
402
"""Called right after context was added to the container. Benefits mostly the config provider injection context which adds extra providers using the initial ones."""
0 commit comments