def METHOD_NAME(operation_type: str) -> "AssignmentOperationType":
    if operation_type == "=":
        return AssignmentOperationType.ASSIGN
    if operation_type == "|=":
        return AssignmentOperationType.ASSIGN_OR
    if operation_type == "^=":
        return AssignmentOperationType.ASSIGN_CARET
    if operation_type == "&=":
        return AssignmentOperationType.ASSIGN_AND
    if operation_type == "<<=":
        return AssignmentOperationType.ASSIGN_LEFT_SHIFT
    if operation_type == ">>=":
        return AssignmentOperationType.ASSIGN_RIGHT_SHIFT
    if operation_type == "+=":
        return AssignmentOperationType.ASSIGN_ADDITION
    if operation_type == "-=":
        return AssignmentOperationType.ASSIGN_SUBTRACTION
    if operation_type == "*=":
        return AssignmentOperationType.ASSIGN_MULTIPLICATION
    if operation_type == "/=":
        return AssignmentOperationType.ASSIGN_DIVISION
    if operation_type == "%=":
        return AssignmentOperationType.ASSIGN_MODULO
    raise SlitherCoreError(f"get_type: Unknown operation type {operation_type})")