from abc import ABCMeta, abstractmethod


class Driver(metaclass=ABCMeta):
    @abstractmethod
    def create(self):
        pass

    @abstractmethod
    def resize(self, id, quota):
        pass

    @abstractmethod
    def clone(self, id):
        pass

    @abstractmethod
    def remove(self, id):
        pass

    @abstractmethod
    def expose(self, id):
        pass
from abc import ABCMeta, abstractmethod


class Driver(metaclass=ABCMeta):
    @abstractmethod
    def create(self, requirements):
        pass

    @abstractmethod
    def _set_quota(self, id, quota):
        pass

    @abstractmethod
    def resize(self, id, quota):
        pass

    @abstractmethod
    def clone(self, id):
        pass

    @abstractmethod
    def remove(self, id):
        pass

    @abstractmethod
    def expose(self, id, host, permissions):
        pass

Fix inconsistency in parameters with base class
Fix inconsistency in parameters with base class

  from abc import ABCMeta, abstractmethod
  
  
  class Driver(metaclass=ABCMeta):
      @abstractmethod
-     def create(self):
+     def create(self, requirements):
+         pass
+ 
+     @abstractmethod
+     def _set_quota(self, id, quota):
          pass
  
      @abstractmethod
      def resize(self, id, quota):
          pass
  
      @abstractmethod
      def clone(self, id):
          pass
  
      @abstractmethod
      def remove(self, id):
          pass
  
      @abstractmethod
-     def expose(self, id):
+     def expose(self, id, host, permissions):
          pass
+ 
Fix inconsistency in parameters with base class
## Code Before:
from abc import ABCMeta, abstractmethod


class Driver(metaclass=ABCMeta):
    @abstractmethod
    def create(self):
        pass

    @abstractmethod
    def resize(self, id, quota):
        pass

    @abstractmethod
    def clone(self, id):
        pass

    @abstractmethod
    def remove(self, id):
        pass

    @abstractmethod
    def expose(self, id):
        pass
## Instruction:
Fix inconsistency in parameters with base class
## Code After:
from abc import ABCMeta, abstractmethod


class Driver(metaclass=ABCMeta):
    @abstractmethod
    def create(self, requirements):
        pass

    @abstractmethod
    def _set_quota(self, id, quota):
        pass

    @abstractmethod
    def resize(self, id, quota):
        pass

    @abstractmethod
    def clone(self, id):
        pass

    @abstractmethod
    def remove(self, id):
        pass

    @abstractmethod
    def expose(self, id, host, permissions):
        pass
