20 lines
292 B
Python
20 lines
292 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class BasePolicy(ABC):
|
|
|
|
@abstractmethod
|
|
def preview(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def instate(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def revoke(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def is_instated(self):
|
|
pass
|