mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 13:16:30 +00:00
add list files for autoupdate feature
put new Versioning fix bugs
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
import msgpack
|
||||
|
||||
cdef class RemoteCommand:
|
||||
def __init__(self, CommandType command_type, bytes data, str message=None):
|
||||
def __init__(self, CommandType command_type, bytes data=None, str message=None):
|
||||
self.command_type = command_type
|
||||
self.data = data
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
command_type_names = {
|
||||
3: "OK",
|
||||
3: "OK",
|
||||
10: "LOGIN",
|
||||
15: "LIST_REQUEST",
|
||||
18: "LIST_FILES",
|
||||
20: "LOAD",
|
||||
22: "LOAD_BIG_SMALL",
|
||||
24: "UPLOAD_BIG_SMALL",
|
||||
|
||||
Reference in New Issue
Block a user