Skip to content

Commit 5183080

Browse files
committed
Update AGENTS.md
1 parent 8fd66d8 commit 5183080

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

AGENTS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ python3-anticaptcha/
6262
- **Async**: All captcha classes have `captcha_handler()` sync + `aio_captcha_handler()` async
6363

6464
## ANTI-PATTERNS (THIS PROJECT)
65-
- **SSL**: `verify=False` in sio_captcha_instrument.py:32 - INTENTIONAL for proxy support, suppresses urllib3 warnings
65+
- **SSL**: `verify=False` in captcha_instrument.py:32 - INTENTIONAL for proxy support, suppresses urllib3 warnings
6666
- **apiDomain**: DO NOT use in ReCaptcha - deprecated by AntiCaptcha
6767
- **Proxy restrictions**: Never use hostnames, transparent proxies, local networks (192.*.*, 10.*.*, 127.*.*)
6868
- **Exceptions**: Only ValueError raised - no custom exception hierarchy
6969
- **Bare except**: Used in some cleanup - avoid expanding
70+
- **Type hints**: Use `Union[X,Y]`, `Optional[X]` - NOT `X | Y` (py310+ syntax forbidden)
71+
- **msgspec version**: Pinned <0.21 in pyproject.toml - may need updates for newer versions
7072

7173
## COMMANDS
7274
```bash

0 commit comments

Comments
 (0)