Samuel Colvin
Samuel Colvin
See https://github.com/samuelcolvin/pydantic-core/pull/172#issuecomment-1200416720. Use [pytest-pyodide](https://github.com/pyodide/pytest-pyodide) instead of our current set of hacky scripts. To do this, we would probably need to auto-use the fixture provided by pytest-pyodide to install it into...
More changes after #185. Also, https://github.com/samuelcolvin/pydantic/discussions/4254. We should add `loc` to `PydanticValueError` which gets appended to the error `loc` Also add `file_position` (`tuple[int, int]` of `(line, col)`), one day when...
Like the other sequence like validators, but keep the type. What do we do about `str`? I guess we have to allow it, but there are regularly scenarios where you...
We could add another property to line errors with internal details on what went wrong. E.g. info that we wouldn't want to show to end users but which might help...
Dict including: * Name * Type * Position - index for tuple, key, value Maybe more details in future Passed as kwarg to function
Currently toasted-marshmallow is messing with the marshmallow install and causing errors. I'm pretty sure that modifying other named packages in `site-packages/` is pretty bad form. It should either use the...
I've just been building a restful API and am testing it with curl. I have debugtoolbar enabled and 500 errors come through as a full web page which isn't at...
currently ```python # @template('index.jinja') async def index(request): return { 'foo': 'bar' } ``` will give cause an error in `aiohttp-debugtoolbar`: ``` Traceback (most recent call last): File "/home/samuel/code/purge_cloudflare/env/lib/python3.5/site-packages/aiohttp/web_server.py", line 61,...
With a `GET` request redis.io returns 200 as expected. ``` > curl -X GET -vso /dev/null http://redis.io/ * Trying 109.74.203.151... * Connected to redis.io (109.74.203.151) port 80 (#0) > GET...
The following should pass ```py assert '2022-07-15T10:56:38.311Z' == IsNow(delta=10, tz='utc', format_string='%Y-%m-%dT%H:%M:%S.%fZ', enforce_tz=False) ``` (ignoring that that's not "now" any longer obvisouly)