Wilfredo Sánchez Vega

Results 25 issues of Wilfredo Sánchez Vega

I've got some [code](https://gist.github.com/wsanchez/d29c7843852981f8cd14f5d886a47c28) that creates a SQLite DB, populates a schema, then writes some data. If the SQLite DB is a file, this seems to work as expected: ```console...

Some suggested cleanup for the front-page example: * Import symbols from the locations used in the SQLAlchemy documentation. * Use the in-memory SQLite connection URL in the SQLAlchemy documentation instead...

I'm getting a new handy error from `mypy`: ```console src/ims/application/_main.py:74:2: error: cmp is deprecated, use eq and order [misc] ``` In order to make sure I'm using those correctly, I...

Documentation

The Hypothesis strategies now shipping with Hyperlink are producing this error occasionally in Klein: ```console Traceback (most recent call last): 324 File "/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/klein/test/test_request_compat.py", line 74, in test_uri 325 def test_uri(self,...

bug

`test_url.py` has this line: ```python attempted_rooted_replacement = normal_absolute.replace(rooted=True) ``` The variable `attempted_rooted_replacement` is unused and [will be removed in #86 if merged](https://github.com/python-hyper/hyperlink/pull/86/files#diff-7044dec930eaafa2c4fd000a4b2c5676L1115). It should be re-added as something should be...

bug

I was looking at the code and noticed that in [`converters.py:38`](https://github.com/Tinche/cattrs/blob/master/cattr/converters.py#L38), you use a `Sequence` where an `Iterable` would work for more object types. Looking at [`_dump_seq`](https://github.com/Tinche/cattrs/blob/master/cattr/converters.py#L147), all it does...

enhancement

Add type hints for `klein.test.test_app`

improvement

As noted, in #73, we can already structure klein apps into parts that can be composed together. Let's write add an example to the docs, since it's not super obvious...

documentation

We have some use of `inlineCallbacks` in code that would be nicer with `async`/`await` syntax.

improvement

A lot of built-in types are annotated in epytext as code (`C{type}`) and perhaps should be links (`L{type}`).

documentation