Trim21
Trim21
要不要用一些类似 https://jotai.org/ 的全局状态管理工具?不然 Context 越加越多 _Originally posted by @y-young in https://github.com/bangumi/frontend/issues/473#issuecomment-1494560986_
```ts test('render code by custom converter, nested', () => { const input = '[b][url]qq[/url][/b]'; expect( render(input, { url: (node) => { return '[url]convert map[/url]'; }, }), ).toBe('[url]convert map[/url]'); }); ```...
# Summary ref: https://github.com/encode/httpx/issues/3170 this PR add type checking on `application/x-www-form-urlencoded` and `multipart/form-data` content type. it will throw TypeError on unspported type # Checklist - [X] I understand that this...
- [ ] Initially raised as discussion #3168 # Problem we should check input value types. Current behavoir which simply convert input value to `str(v)` is not very ideal. for...
# Summary There are several test cases broken on windows. # Checklist - [X] I understand that this PR may be closed in case there was no previous discussion. (This...
```python import os from pathlib import Path from typing import Any directory: Any = [] files: list[Path] = [] for p in directory: if p.is_file(): files.append(p) else: for dir, _,...
feature: - add `sequential_download` to `client.change_torrent()` - add `sequential_download` to `client.get_torrent()` - add `ip_protocol` argument to `client.port_test()` - support `file.beginPiece` and `file.endPiece` BREAKING CHANGE:`client.port_test()` now return a `PortTestResult` instead of...
**Bug Report** `TypeVar` after overload cause mypy raise a warning about missing impl and redef (A clear and concise description of what the bug is.) **To Reproduce** ```python from typing...
**Describe the bug** A clear and concise description of what the bug is. `@pydantic.dataclasses.dataclass`'s `__init__` type hint stop working **To Reproduce** Steps to reproduce the behavior: 1. install ide, plugin...
### Discussed in https://github.com/jesec/flood/discussions/520 Originally posted by **joshhhhyyyy** February 27, 2022 An option to add a torrent from the infohash. I tried doing this on my instance but it crashed...