cic-internal-integration/apps/cic-ussd/cic_ussd/metadata/custom.py

14 lines
313 B
Python
Raw Permalink Normal View History

2021-06-23 10:54:34 +02:00
# standard imports
# external imports
2021-10-15 13:21:41 +02:00
from cic_types.condiments import MetadataPointer
2021-06-23 10:54:34 +02:00
# local imports
2021-10-15 13:21:41 +02:00
from .base import UssdMetadataHandler
2021-06-23 10:54:34 +02:00
2021-10-15 13:21:41 +02:00
class CustomMetadata(UssdMetadataHandler):
2021-06-23 10:54:34 +02:00
def __init__(self, identifier: bytes):
2021-10-15 13:21:41 +02:00
super().__init__(cic_type=MetadataPointer.CUSTOM, identifier=identifier)