src/eric7/RemoteServer/EricRequestCategory.py

Thu, 11 Jul 2024 14:21:34 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 11 Jul 2024 14:21:34 +0200
branch
eric7
changeset 10840
c8045d0dbaa7
parent 10774
7f7ff7456904
child 11090
f5f5f5803935
permissions
-rw-r--r--

MicroPython
- Updated the list of known CircuitPython boards for CPy 9.1.0.
- Updated the list of known UF2 capable boards.

# -*- coding: utf-8 -*-

# Copyright (c) 2024 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing an enum for the various service categories.
"""

import enum


class EricRequestCategory(enum.IntEnum):
    """
    Class defining the service categories of the eric remote server.
    """

    FileSystem = 0
    Project = 1
    Debugger = 2
    Coverage = 3
    EditorConfig = 4

    Echo = 252
    Server = 253
    Error = 254  # only sent by the server to report an issue
    Generic = 255

    # user/plugins may define own categories starting with this value
    UserCategory = 1024

eric ide

mercurial