mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-09 17:14:12 +00:00
fix(ingest): lint fix a few files (#4016)
This commit is contained in:
parent
a9ece422a6
commit
c27f1f9487
@ -33,7 +33,7 @@ class CheckpointStateBase(ConfigModel):
|
|||||||
compressor: Callable[[bytes], bytes] = functools.partial(
|
compressor: Callable[[bytes], bytes] = functools.partial(
|
||||||
bz2.compress, compresslevel=9
|
bz2.compress, compresslevel=9
|
||||||
),
|
),
|
||||||
max_allowed_state_size: int = 2 ** 22, # 4MB
|
max_allowed_state_size: int = 2**22, # 4MB
|
||||||
) -> bytes:
|
) -> bytes:
|
||||||
"""
|
"""
|
||||||
NOTE: Binary compression cannot be turned on yet as the current MCPs encode the GeneralizedAspect
|
NOTE: Binary compression cannot be turned on yet as the current MCPs encode the GeneralizedAspect
|
||||||
|
|||||||
@ -30,7 +30,7 @@ class StatefulIngestionConfig(ConfigModel):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
enabled: bool = False
|
enabled: bool = False
|
||||||
max_checkpoint_state_size: int = 2 ** 24 # 16MB
|
max_checkpoint_state_size: int = 2**24 # 16MB
|
||||||
state_provider: Optional[DynamicTypedConfig] = DynamicTypedConfig(
|
state_provider: Optional[DynamicTypedConfig] = DynamicTypedConfig(
|
||||||
type="datahub", config=DatahubIngestionStateProviderConfig()
|
type="datahub", config=DatahubIngestionStateProviderConfig()
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user