Fixed validation on custom-resource in applicationautoscaling (#4026)

* Added ResourceTypeExceptions

* Added test for custom-resource

Co-authored-by: Phil Sheets <p.sheets@fetchrewards.com>
This commit is contained in:
psheets 2021-06-23 11:57:09 -04:00 committed by GitHub
commit b9a42816bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 29 additions and 15 deletions

View file

@ -547,7 +547,7 @@ class Model(type):
@staticmethod
def prop(model_name):
""" decorator to mark a class method as returning model values """
"""decorator to mark a class method as returning model values"""
def dec(f):
f.__returns_model__ = model_name