12 lines
267 B
Python
12 lines
267 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class RequiresNumbering(ABC):
|
|
def __init__(self, category: str):
|
|
self.numbering_category = category
|
|
self.unique_name: str | None = None
|
|
|
|
@abstractmethod
|
|
def set_number(self, number: str):
|
|
pass
|