# GENERATED CODE - DO NOT MODIFY
from __future__ import annotations
from .resolve_handle import *
from .update_handle import *

class Identity:

    def __init__(self, service: str, headers: dict[str, str]):
        self.service = service
        self.headers = headers

    def update_handle(self, handle: str):
        return update_handle(self.service, self.headers, handle)

    def resolve_handle(self, handle: typing.Optional[str]=None):
        return resolve_handle(self.service, self.headers, handle)