code: def deprecate_module_attr(mod, deprecated):
      
      deprecated = set(deprecated)
      class Wrapper(object):
          def __getattr__(self, attr):
              if attr in deprecated:
                  warnings.warn("Property {} is deprecated".format(attr), GBDXDeprecation)
  
              return getattr(mod, attr)
  
          def __setattr__(self, attr, value):
              if attr in deprecated:
                  warnings.warn("Property {} is deprecated".format(attr), GBDXDeprecation)
              return setattr(mod, attr, value)
      return Wrapper()
docs: Return a wrapped object that warns about deprecated accesses