code: def _requirements(self):
          
          return {'memory': getattr(self, 'memory', None),
                  'cores': getattr(self, 'cores', None),
                  'disk': getattr(self, 'disk', None),
                  'preemptable': getattr(self, 'preemptable', None)}
docs: Gets a dictionary of all the object's resource requirements. Unset values are defaulted to None