mirror of https://github.com/yupix/mipac
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
651 B
24 lines
651 B
2 years ago
|
{
|
||
|
"create actions class": {
|
||
|
"prefix": "mic.actions",
|
||
|
"body": [
|
||
|
"class $1(AbstractAction):",
|
||
|
" def __init__(self, *, session: HTTPClient, client: ClientManager):",
|
||
|
" self.__session = session",
|
||
|
" self.__client = client",
|
||
|
""
|
||
|
],
|
||
|
"description": "create actions class"
|
||
|
},
|
||
|
"create manager class": {
|
||
|
"prefix": "mic.manager",
|
||
|
"body": [
|
||
|
"class $1(AbstractManager):",
|
||
|
" def __init__(self, *, session: HTTPClient, client: ClientManager):",
|
||
|
" self.__session: HTTPClient = session",
|
||
|
" self.__client: ClientManager = client"
|
||
|
],
|
||
|
"description": "create manager class"
|
||
|
}
|
||
|
}
|