Skip to content

Commit

Permalink
removed cached_property decorator from max_size
Browse files Browse the repository at this point in the history
  • Loading branch information
BuzzCutNorman committed Aug 29, 2023
1 parent 4f75636 commit 879995a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions singer_sdk/sinks/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import json
import time
import typing as t
from functools import cached_property
from gzip import GzipFile
from gzip import open as gzip_open
from types import MappingProxyType
Expand Down Expand Up @@ -250,7 +249,7 @@ def sink_timer(self) -> BatchPerfTimer | None:
"""
return self._sink_timer

@cached_property
@property
def max_size(self) -> int:
"""Get max batch size.
Expand Down

0 comments on commit 879995a

Please sign in to comment.