Skip to content

Commit

Permalink
Remove warning about compound tags deprecation (#256)
Browse files Browse the repository at this point in the history
Co-authored-by: Karl Higley <karlb@nvidia.com>
  • Loading branch information
oliverholworthy and karlhigley authored May 4, 2023
1 parent 772c08c commit 04ccc31
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions merlin/schema/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
import warnings
from enum import Enum
from typing import List, Set, Union

Expand Down Expand Up @@ -146,11 +145,6 @@ def _normalize_tags(self, tags) -> Set[Tags]:
for tag in tag_set:
atomized_tags.add(tag)
if tag in COMPOUND_TAGS:
warnings.warn(
f"Compound tags like {tag} have been deprecated "
"and will be removed in a future version. "
f"Please use the atomic versions of these tags, like {COMPOUND_TAGS[tag]}."
)
atomized_tags.update(COMPOUND_TAGS[tag])

return atomized_tags
Expand Down

0 comments on commit 04ccc31

Please sign in to comment.