Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from typing import Dict
import unittest
from overrides import overrides,final,EnforceOverrides
class Enforcing(EnforceOverrides):
classVariableIsOk = "OK?"
@final
def finality(self):
return "final"
def nonfinal1(self, param: int) -> str:
return "super1"
def nonfinal2(self):
return "super2"
@property
def nonfinal_property(self):
return "super_property"