From 879995ab8a84b91f02a5684ccf375243de8ec30b Mon Sep 17 00:00:00 2001 From: Dan Norman Date: Tue, 29 Aug 2023 12:03:09 -0700 Subject: [PATCH] removed cached_property decorator from max_size --- singer_sdk/sinks/core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/singer_sdk/sinks/core.py b/singer_sdk/sinks/core.py index fdf7a1a9c..102a1e9c7 100644 --- a/singer_sdk/sinks/core.py +++ b/singer_sdk/sinks/core.py @@ -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 @@ -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.