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.
mipac/.vscode/dev.code-snippets

24 lines
651 B

{
"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"
}
}