mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-05 07:04:44 +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(
|
||||
bz2.compress, compresslevel=9
|
||||
),
|
||||
max_allowed_state_size: int = 2 ** 22, # 4MB
|
||||
max_allowed_state_size: int = 2**22, # 4MB
|
||||
) -> bytes:
|
||||
"""
|
||||
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
|
||||
max_checkpoint_state_size: int = 2 ** 24 # 16MB
|
||||
max_checkpoint_state_size: int = 2**24 # 16MB
|
||||
state_provider: Optional[DynamicTypedConfig] = DynamicTypedConfig(
|
||||
type="datahub", config=DatahubIngestionStateProviderConfig()
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user