made a small script:
@dataclass
class superproperty:
g:"func"=None
s:"func"=None
d:"func"=None
def __set_name__(self, owner, name):
iter=(b for b in owner.__mro__ if hasattr(b,name))
next(iter)made a small script:
@dataclass
class superproperty:
g:"func"=None
s:"func"=None
d:"func"=None
def __set_name__(self, owner, name):
iter=(b for b in owner.__mro__ if hasattr(b,name))
next(iter)| # Dockerfile for icalingua-bridge-oicq | |
| # Based on code from https://github.com/Icalingua-plus-plus/Icalingua-plus-plus (licensed under AGPL-3.0) | |
| # Copyright (c) zihu12 | |
| # License: AGPL-3.0 | |
| FROM docker.io/library/node:18 AS build | |
| ARG VERSION | |
| RUN git clone https://github.com/Icalingua-plus-plus/Icalingua-plus-plus.git --depth=1 -b v$VERSION | |
| WORKDIR /Icalingua-plus-plus/icalingua-bridge-oicq | |
| RUN corepack enable && npm install -g node-prune |