Source code for pyrit.models.identifiers
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from abc import abstractmethod
[docs]
class Identifier:
[docs]
@abstractmethod
def get_identifier(self) -> dict[str, str]:
pass
def __str__(self) -> str:
return f"{self.get_identifier}"