ChatCrawlersearch across public Telegram Open the app
P

Python 中文交流群

snapshot for November 2024
November 2024 ×
29 November 2024
B
Стикер
sticker.webp · 15 KB · click to show
🌠
AbstractOptionMgr 中,required_config_version
OptionMgr 这个抽象属性未实现
C
你加一个super丢上去
类似于这样? class OptionMgr(AbstractOptionMgr): def __init__(self) -> None: super().__init__() self.enable_parse_args = True @property def required_config_version(self) -> str: return "1.0" def add_env(self) -> None: assert isinstance(self.env, dict) self.env["cwd_path"] = os.getcwd() def add_parses(self, root_parser: ArgumentParser) -> None: root_parser.add_argument("--foo")
如果抽象方式或者属性不适合特定实现
完啦要长脑子了
OptionMgr应该从BaseOptionMgr继承的,父类写错了
问题太低级了。大家忽略吧
B
Стикер
sticker.webp · 15 KB · click to show
🙂
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog