vvoody
vvoody
Hi. Any path having blank will fail the regex test, e.g., "/home/vux/Downloads/test something/". ``` WinPath string = `^[a-zA-Z]:\\(?:[^\\/:*?"|\r\n]+\\)*[^\\/:*?"|\r\n]*$` UnixPath string = `^((?:\/[a-zA-Z0-9\.\:]+(?:_[a-zA-Z0-9\:\.]+)*(?:\-[\:a-zA-Z0-9\.]+)*)+\/?)$` ```
关键信息 ======= - [ ] bk-sops 版本:3.3.30 问题描述 ======= 看单元测试样例,mock 的都是有外部调用的函数。而我们的外部调用通常都是现在类方法里。尝试过程如下,不太成功,特来请教。 Service 的 `execute` 是这样的: ```python # myatom/components/collections/toggle_status.py from xxx.packages.thing import Thing class TheService(Service): __need_schedule__ = False def execute(self, data,...
Hello! My APIs are organized by [Routers](https://django-ninja.rest-framework.com/tutorial/routers/). I want to handle errors by [custom exception handlers](https://django-ninja.rest-framework.com/tutorial/errors/). However, method `exception_handler` belongs to `NinjaAPI` class, not `Router` class. I have no ideas...
Hello, I met a weird connection problem. TCP connection is ok to establish with my target IP. However, it hangs for a long time at `do_handshake()`. Here is my code....