Skip to content

Commit ef11ac0

Browse files
authored
Merge branch 'master' into master
2 parents 2fe8fe1 + 9ca12bc commit ef11ac0

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## v2.54.0 (2021-08-16)
4+
5+
### Features
6+
7+
* add pytorch 1.5.1 eia configuration
8+
9+
### Bug Fixes and Other Changes
10+
11+
* issue #2253 where Processing job in Local mode would call Describe…
12+
313
## v2.53.0 (2021-08-12)
414

515
### Features

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.53.1.dev0
1+
2.54.1.dev0

src/sagemaker/lineage/association.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@
1515

1616
from typing import Optional, Iterator
1717
from datetime import datetime
18+
import logging
1819

1920
from sagemaker.apiutils import _base_types
2021
from sagemaker.lineage import _api_types
2122
from sagemaker.lineage._api_types import AssociationSummary
2223

24+
logger = logging.getLogger(__name__)
25+
2326

2427
class Association(_base_types.Record):
2528
"""An Amazon SageMaker artifact, which is part of a SageMaker lineage.
@@ -73,6 +76,10 @@ def set_tag(self, tag=None):
7376
Returns:
7477
list({str:str}): a list of key value pairs
7578
"""
79+
logger.warning(
80+
"set_tag on Association is deprecated. Use set_tag on the source or destination\
81+
entity instead."
82+
)
7683
return self._set_tags(resource_arn=self.source_arn, tags=[tag])
7784

7885
def set_tags(self, tags=None):
@@ -84,6 +91,10 @@ def set_tags(self, tags=None):
8491
Returns:
8592
list({str:str}): a list of key value pairs
8693
"""
94+
logger.warning(
95+
"set_tags on Association is deprecated. Use set_tags on the source or destination\
96+
entity instead."
97+
)
8798
return self._set_tags(resource_arn=self.source_arn, tags=tags)
8899

89100
@classmethod

0 commit comments

Comments
 (0)