azext_iot/monitor/models/enum.py (5 lines of code) (raw):

# coding=utf-8 # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- from enum import IntEnum class Severity(IntEnum): info = 1 warning = 2 error = 3