class_docstr: The metaclass for RESTObjects.
  
  This will look into the attributes for the class. If they are a
  RESTProperty, then it will add it to the __rest__ set and give it its
  name.
  
  If the bases have __rest__, then it will add them to the __rest__ set as
  well.
class_docstr_tok: ["The","metaclass","for","RESTObjects",".","This","will","look","into","the","attributes","for","the","class",".","If","they","are","a","RESTProperty",",","then","it","will","add","it","to","the","__rest__","set","and","give","it","its","name",".","If","the","bases","have","__rest__",",","then","it","will","add","them","to","the","__rest__","set","as","well","."]
code: def __init__(self, name, bases, dict):
      super().__init__(name, bases, dict)
  
      self.__rest__ = set()
      for base in bases:
          self.__rest__.update(getattr(base, "__rest__", set()))
  
      for k, v in dict.items():
          if isinstance(v, RESTProperty):
              v.__dict__["name"] = "_" + k
              self.__rest__.add(k)
  
imports: import abc
  from collections.abc import MutableMapping
  import logging
  import requests
  from requests.auth import HTTPBasicAuth
  from re import compile
  import json
label_desc: Use image node_id 1 to create a new _RESTMetaclass object from inherited base classes: abc with example: obj = _RESTMetaclass(name, bases, dict)