Skip to content

Commit 9750dc5

Browse files
committed
fix: switch order of annotations
1 parent bf13065 commit 9750dc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/jumpstart/accessors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ def get_sagemaker_version() -> str:
4141
class JumpStartS3Accessor(object):
4242
"""Static class for storing and retrieving auxilliary s3 artifacts."""
4343

44-
@functools.lru_cache()
4544
@staticmethod
45+
@functools.lru_cache()
4646
def _get_default_s3_client(region: str = JUMPSTART_DEFAULT_REGION_NAME) -> boto3.client:
4747
"""Returns default s3 client associated with the region.
4848
4949
Result is cached so multiple clients in memory are not created.
5050
"""
5151
return boto3.client("s3", region_name=region)
5252

53-
@functools.lru_cache()
5453
@staticmethod
54+
@functools.lru_cache()
5555
def get_object_cached(
5656
bucket: str,
5757
key: str,

0 commit comments

Comments
 (0)