cic-stack/apps/cic-ussd/cic_ussd/metadata/person.py

14 lines
313 B
Python
Raw Normal View History

2021-04-14 11:00:10 +02:00
# standard imports
2021-08-06 18:29:01 +02:00
# external imports
2021-10-15 13:21:41 +02:00
from cic_types.condiments import MetadataPointer
2021-04-14 11:00:10 +02:00
# local imports
2021-10-15 13:21:41 +02:00
from .base import UssdMetadataHandler
2021-04-14 11:00:10 +02:00
2021-10-15 13:21:41 +02:00
class PersonMetadata(UssdMetadataHandler):
2021-04-14 11:00:10 +02:00
def __init__(self, identifier: bytes):
2021-10-15 13:21:41 +02:00
super().__init__(cic_type=MetadataPointer.PERSON, identifier=identifier)