LEv145

Results 29 comments of LEv145

I tried to implement this a little bit: https://github.com/LEv145/MonitoRSS-API But so far I don't know enough to implement to the end

I had this problem too when I was doing an asynchronous queue via `tortoise` like `asyncio.Queue`, I had to do this: ```py async def _get_or_create_guild(self) -> tuple[models.Guild, bool]: async with...

You can try adding `asyncio.Lock` to tortoise so that the function cannot be called multiple times at the same time

It seems that the problem is here: https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/main/ldm_patched/modules/model_management.py#L339

I think the problem is in the `value` argument of the `maybe` function https://github.com/ekampf/pymaybe/blob/master/pymaybe/__init__.py#L569-L570 Typing linters don't understand `isinstance`, so they warn about a possible error: ```py >>> maybe(Maybe()).log Traceback...

Same issue when using pandas ```py dataframe = pd.read_json("testdata/data.json") ``` ![изображение](https://github.com/deanmalmgren/textract/assets/40071054/53b1cd7c-3c48-45c9-a63f-dc85c06c1c70) With latest`six`: ![изображение](https://github.com/deanmalmgren/textract/assets/40071054/55741498-c27b-4893-b6bd-8120e1b212b3)

https://github.com/secdev/scapy/issues/3502

Thanks! One of the possible solutions in PyCharm: ```py @commands.slash_command() async def ping(self, inter: disnake.CommandInteraction) -> None: assert isinstance(inter.response, disnake.InteractionResponse) await inter.response.send_message("Pong!") ``` Or ```py @commands.slash_command() async def ping(self, inter:...

I found a problem: https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/394ffa7b0a7fff3ec484bcd084e673a8b301ccc8/modules/ui.py#L808 Temporary solution (`tampermonkey`): ```js // ==UserScript== // @name Disable updateImg2imgResizeToTextAfterChangingImage // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! //...

Причём как я выяснил, PhantomJS уже мёртв, а его использование небезопасно https://github.com/ariya/phantomjs/issues/15344