ClassDefinition.py 484 B

12345678910111213141516171819202122232425262728293031
  1. class TestClass:
  2. DEFAULT_TITLE: str = 'DEFAULT TITLE'
  3. DEFAULT_STRING_MAX_LENGTH:int = 10
  4. def __init__(self):
  5. pass
  6. def __call__(self, *args, **kwargs):
  7. pass
  8. def __repr__(self):
  9. pass
  10. @classmethod
  11. def some_class_method(cls):
  12. pass
  13. @staticmethod
  14. def some_static_method():
  15. pass
  16. # private method
  17. def _some_private_method(self):
  18. pass
  19. # instance method
  20. def build(self):
  21. pass